fix: mysql change

This commit is contained in:
Strix 2024-01-01 19:37:27 +01:00
parent b2a81eb1c9
commit 631840277d
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7

View file

@ -4,9 +4,8 @@ version: '2.2'
services:
snipeit:
image: snipe/snipe-it
links:
- snipeit-db:mysql
environment:
environment:
MYSQL_PORT_3306_TCP_ADDR: "snipeit-db"
MYSQL_ROOT_PASSWORD: "root"
MYSQL_DATABASE: "snipeit"
MYSQL_USER: "snipeit"
@ -24,6 +23,7 @@ services:
- /srv/snipeit/data:/var/lib/snipeit
networks:
- proxy
- internal
snipeit-db:
image: mysql:5.6
@ -33,4 +33,6 @@ services:
MYSQL_USER: "snipeit"
MYSQL_PASSWORD: "snipeit"
volumes:
- /srv/snipeit/other/db:/var/lib/mysql
- /srv/snipeit/other/db:/var/lib/mysql
networks:
- internal