forked from pretalx/pretalx-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (38 loc) · 872 Bytes
/
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
40
41
42
43
44
45
version: '2'
services:
pretalx:
image: maxrink/pretalx-devel:latest
container_name: pretalx
restart: unless-stopped
depends_on:
- redis
- db
ports:
- "80:80"
volumes:
- ./conf/pretalx.cfg:/etc/pretalx/pretalx.cfg:ro
- pretalx-data:/data
labels:
traefik.docker.network: "pretalxdocker"
traefik.enable: "true"
db:
image: mysql:5
container_name: pretalx-db
restart: unless-stopped
volumes:
- pretalx-db:/var/lib/mysql
environment:
MYSQL_DATABASE: pretalx
MYSQL_USER: pretalx
MYSQL_PASSWORD: veryunsecureplschange
MYSQL_RANDOM_ROOT_PASSWORD: "1"
redis:
image: redis:latest
container_name: pretalx-redis
restart: unless-stopped
volumes:
- pretalx-redis:/data
volumes:
pretalx-db:
pretalx-data:
pretalx-redis: