-
Notifications
You must be signed in to change notification settings - Fork 49
/
docker-compose.yml
49 lines (45 loc) · 1.31 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
40
41
42
43
44
45
46
47
48
version: '3'
services:
pretalx:
image: pretalx/standalone:latest
container_name: pretalx
restart: unless-stopped
depends_on:
- redis
- db
environment:
# Hint: Make sure you serve all requests for the `/static/` and `/media/` paths when debug is False. See [installation](https://docs.pretalx.org/administrator/installation/#step-7-ssl) for more information
PRETALX_FILESYSTEM_MEDIA: /public/media
PRETALX_FILESYSTEM_STATIC: /public/static
ports:
- "80:80"
volumes:
- ./conf/pretalx.cfg:/etc/pretalx/pretalx.cfg:ro
- pretalx-data:/data
- pretalx-public:/public
labels:
traefik.docker.network: "pretalxdocker"
traefik.enable: "true"
db:
image: mysql:latest
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"
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
redis:
image: redis:latest
container_name: pretalx-redis
restart: unless-stopped
volumes:
- pretalx-redis:/data
volumes:
pretalx-db:
pretalx-data:
pretalx-public:
pretalx-redis: