-
Notifications
You must be signed in to change notification settings - Fork 0
/
django-compose.yml
51 lines (45 loc) · 1.08 KB
/
django-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
version: '3'
volumes:
db:
cln_components:
services:
db:
image: sdal/cln_psql
container_name: db
volumes:
- db:/var/lib/postgresql/data
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /home/bjgoode/cln_psql_bkup:/cln_psql_bkup
cap_add:
- SYS_ADMIN
ports:
- 5432:5432
cln:
image: sdal/cln
container_name: cln
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/group:/etc/group
- cln_components:/code/components
cap_add:
- SYS_ADMIN
ports:
- 8686:8000
depends_on:
- db
documenter:
image: sdal/documenter
container_name: documenter
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /etc/group:/etc/group
cap_add:
- SYS_ADMIN
ports:
- 8787:8000
#
# command: python3.6 /code/manage.py migrate
# command: python3.6 /code/manage.py collectstatic
# command: bash -c "gunicorn sdal_cln.wsgi:application --bind 0.0.0.0:8000"
# command: python3.6 /code/manage.py runserver
# command: bash -c "python3.6 manage.py runserver && /usr/sbin/init"