forked from open5e/open5e
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (39 loc) · 856 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (39 loc) · 856 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
30
31
32
33
34
35
36
37
38
39
version: '3'
services:
api-beta:
image: 'eepmoody/open5e-beta:latest'
environment:
- OPEN5E_DEBUG=False
- 'DJANGO_SECRET=${DJANGO_SECRET}'
- 'SERVER_NAME=${SERVER_NAME}'
ports:
- '8000:8000'
depends_on:
- nginx
- watchtower
nginx:
image: 'nginx:latest'
environment:
- NGINX_HOST=open5e.com
- NGINX_PORT=443
volumes:
- './nginx/api/:/etc/nginx/:ro'
- './nginx/ssl/:/etc/ssl/:ro'
ports:
- '0.0.0.0:80:80'
- '0.0.0.0:443:443'
watchtower:
image: v2tec/watchtower
volumes:
- '/var/run/docker.sock:/var/run/docker.sock'
command: '--interval 30'
dev:
build: .
depends_on:
- nginx
environment:
- OPEN5E_DEBUG=True
- 'DJANGO_SECRET=a_secret'
- 'SERVER_NAME=localhost'
ports:
- '8000:8000'