mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-24 01:14:27 +01:00
cleanup repo
This commit is contained in:
36
examples/snipe-it/docker-compose.yml
Normal file
36
examples/snipe-it/docker-compose.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
version: "2.1"
|
||||
services:
|
||||
snipe-it:
|
||||
image: lscr.io/linuxserver/snipe-it:latest
|
||||
container_name: snipe-it
|
||||
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:
|
||||
- /mnt/docker-volumes/snipeit/config:/config
|
||||
ports:
|
||||
- 8080:80
|
||||
restart: unless-stopped
|
||||
|
||||
mariadb:
|
||||
image: lscr.io/linuxserver/mariadb:latest
|
||||
container_name: mariadb
|
||||
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:
|
||||
- /mnt/docker-volumes/snipeit/mariadb:/config
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user