2023-02-15 21:45:31 +00:00
|
|
|
services:
|
2024-11-04 12:08:51 +00:00
|
|
|
|
2023-02-15 21:45:31 +00:00
|
|
|
snipe-it:
|
|
|
|
image: lscr.io/linuxserver/snipe-it:latest
|
2024-11-04 12:08:51 +00:00
|
|
|
container_name: snipeit
|
2023-02-15 21:45:31 +00:00
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- APP_URL=http://localhost:8080
|
|
|
|
- MYSQL_PORT_3306_TCP_ADDR=mariadb
|
|
|
|
- MYSQL_PORT_3306_TCP_PORT=3306
|
|
|
|
- MYSQL_DATABASE=snipeitdb
|
|
|
|
- MYSQL_USER=snipeit
|
|
|
|
- MYSQL_PASSWORD=VeryStrongDatabasePassword
|
|
|
|
- TZ=Europe/Berlin
|
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/snipeit/config:/config
|
2023-02-15 21:45:31 +00:00
|
|
|
ports:
|
|
|
|
- 8080:80
|
2024-11-04 12:08:51 +00:00
|
|
|
expose:
|
|
|
|
- 80
|
2023-02-15 21:45:31 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
|
|
|
|
mariadb:
|
|
|
|
image: lscr.io/linuxserver/mariadb:latest
|
2024-11-04 12:08:51 +00:00
|
|
|
container_name: snipeit-mariadb
|
|
|
|
expose:
|
|
|
|
- 3306
|
2023-02-15 21:45:31 +00:00
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=Europe/Berlin
|
|
|
|
- MYSQL_ROOT_PASSWORD=MyVeryStrongDatabaseRootPassword # change this
|
|
|
|
- MYSQL_DATABASE=snipeitdb
|
|
|
|
- MYSQL_USER=snipeit
|
|
|
|
- MYSQL_PASSWORD=VeryStrongDatabasePassword # change this
|
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/snipeit/mariadb:/config
|
2023-02-15 21:45:31 +00:00
|
|
|
restart: unless-stopped
|