forked from TrafeX/docker-php-nginx
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (29 loc) · 797 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
29 lines (29 loc) · 797 Bytes
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
version: "3.1"
services:
dusite:
image: du_download_site:latest
container_name: dusite
restart: unless-stopped
env_file:
- .env
volumes:
- <DIR_WITH_DEVICE_FOLDERS>:/var/www/html/devices
environment:
- MYSQL_USER=${MYSQL_USER}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DATABASE=${MYSQL_DATABASE}
- SLACK_WEBHOOK=${SLACK_WEBHOOK}
- SLACK_TOKEN=${SLACK_TOKEN}
mariadb:
image: mariadb:latest
container_name: mariadb
restart: unless-stopped
volumes:
- ./downloads.sql:/docker-entrypoint-initdb.d/downloads.sql
env_file:
- .env
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_USER=${MYSQL_USER}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DATABASE=${MYSQL_DATABASE}