-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (51 loc) · 1.14 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
49
50
51
52
53
54
55
56
57
version: '3'
services:
ggj23_server:
build:
context: "."
image: ggj23_server:devel
restart: on-failure
container_name: ggj23_server_container
command: daphne -b 0.0.0.0 -p 11000 ggj23.asgi:application
env_file: ggj23/environment/server.env
volumes:
- .:/app
- static_data:/app/static
ports:
- 11000:11000
proxy:
build:
context: ./nginx
restart: always
depends_on:
- ggj23_server
ports:
- 80:80
- 443:443
volumes:
- certbot-web:/vol/www
- proxy-dhparams:/vol/proxy
- certbot-certs:/etc/letsencrypt
certbot:
build:
context: ./certbot
command: echo "skipping"
# command: certbot --nginx -d yggdrasil.beelzeware.dev
environment:
volumes:
- certbot-web:/vol/www
- certbot-certs:/etc/letsencrypt/
depends_on:
- proxy
enemy_daemon:
build: .
image: ggj23_server:devel
restart: on-failure
command: python3 manage.py enemy_daemon
env_file: ggj23/environment/server.env
volumes:
static_data:
certbot-web:
proxy-dhparams:
certbot-certs: