-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml.sample
46 lines (42 loc) · 1.14 KB
/
docker-compose.yml.sample
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
40
41
42
43
44
45
46
version: '2'
volumes:
datencockpit-db:
datencockpit-html:
services:
db:
image: mariadb
restart: always
volumes:
- datencockpit-db:/var/lib/mysql
- ./kdz_datencockpit.sql:/docker-entrypoint-initdb.d/kdz_datencockpit.sql
environment:
- MYSQL_ROOT_PASSWORD=secretrootpassword # UNBEDINGT AUSTAUSCHEN
- MYSQL_DATABASE=kdz_datencockpit
- MYSQL_USER=kdz_datencockpit
- MYSQL_PASSWORD=secretpassword # UNBEDINGT AUSTAUSCHEN
logging:
options:
max-size: 50m
datencockpit:
build:
context: .
args:
DATENCOCKPIT_SITENAME: "Datencockpit"
DATENCOCKPIT_URL: "http://www.datencockpit.at"
DATENCOCKPIT_EMERGENCY_CONTACT: "[email protected]"
DATENCOCKPIT_DB_HOST: "db"
DATENCOCKPIT_DB_NAME: "kdz_datencockpit"
DATENCOCKPIT_DB_USER: "kdz_datencockpit"
DATENCOCKPIT_DB_PASSWORD: "secretpassword" # UNBEDINGT AUSTAUSCHEN
restart: always
volumes:
- datencockpit-html:/var/www/html
depends_on:
- db
links:
- db:db
ports:
- 80:80
logging:
options:
max-size: 50m