-
-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathdocker-compose.yml
39 lines (37 loc) · 1.06 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
services:
snipe-it:
image: lscr.io/linuxserver/snipe-it:latest
container_name: snipeit
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:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/snipeit/config:/config
ports:
- 8080:80
expose:
- 80
restart: unless-stopped
mariadb:
image: lscr.io/linuxserver/mariadb:latest
container_name: snipeit-mariadb
expose:
- 3306
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:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/snipeit/mariadb:/config
restart: unless-stopped