-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.development.yml
More file actions
99 lines (90 loc) · 2.68 KB
/
Copy pathdocker-compose.development.yml
File metadata and controls
99 lines (90 loc) · 2.68 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# For copyright and license terms, see COPYRIGHT.rst (top level of repository)
# Repository: https://github.com/C3S/collecting_society_docker
networks:
frontend:
backend:
services:
database:
networks:
- backend
ports:
- "127.0.0.1:5432:5432" # http
volumes:
- ./volumes/postgresql-data:/var/lib/postgresql/data
webserver:
attach: false
networks:
- frontend
ports:
- "127.0.0.1:80:80" # http
volumes:
- ./volumes/nginx-certs:/etc/nginx/certs
- ./volumes/nginx-dhparam:/etc/nginx/dhparam
- ./volumes/nginx-htpasswd:/etc/nginx/htpasswd
environment:
DISABLE_ACCESS_LOGS: 1
erpserver:
networks:
- frontend
- backend
ports:
- "127.0.0.1:8000:8000" # jsonrpc (tryton client)
- "127.0.0.1:52005:52005" # debugger for trytond
- "127.0.0.1:52006:52006" # debugger for import script
volumes:
- ./volumes/trytond-files:/var/lib/trytond
webapi:
networks:
- frontend
- backend
ports:
- "127.0.0.1:6544:6543" # pyramid pserve
- "127.0.0.1:52001:52001" # debugger
volumes:
- ./volumes/trytond-files:/var/lib/trytond
environment:
DEBUG_STATIC: ${DEBUG_STATIC}
DEBUG_RES_REGISTRY: ${DEBUG_RES_REGISTRY}
DEBUG_WEB_REQUEST: ${DEBUG_WEB_REQUEST}
DEBUG_WEB_APPSTRUCT: ${DEBUG_WEB_APPSTRUCT}
DEBUG_WEB_CONTEXT: ${DEBUG_WEB_CONTEXT}
DEBUG_WEB_RESPONSE: ${DEBUG_WEB_RESPONSE}
DEBUG_API_REQUEST: ${DEBUG_API_REQUEST}
DEBUG_API_CONTEXT: ${DEBUG_API_CONTEXT}
DEBUG_API_RESPONSE: ${DEBUG_API_RESPONSE}
DEBUG_TDB_TRANSACTIONS: ${DEBUG_TDB_TRANSACTIONS}
webgui:
networks:
- frontend
- backend
ports:
- "127.0.0.1:6543:6543" # pyramid pserve
- "127.0.0.1:52000:52000" # debugger
volumes:
- ./volumes/trytond-files:/var/lib/trytond
environment:
DEBUG_STATIC: ${DEBUG_STATIC}
DEBUG_RES_REGISTRY: ${DEBUG_RES_REGISTRY}
DEBUG_WEB_REQUEST: ${DEBUG_WEB_REQUEST}
DEBUG_WEB_APPSTRUCT: ${DEBUG_WEB_APPSTRUCT}
DEBUG_WEB_CONTEXT: ${DEBUG_WEB_CONTEXT}
DEBUG_WEB_RESPONSE: ${DEBUG_WEB_RESPONSE}
DEBUG_API_REQUEST: ${DEBUG_API_REQUEST}
DEBUG_API_CONTEXT: ${DEBUG_API_CONTEXT}
DEBUG_API_RESPONSE: ${DEBUG_API_RESPONSE}
DEBUG_TDB_TRANSACTIONS: ${DEBUG_TDB_TRANSACTIONS}
worker:
networks:
- backend
ports:
- "127.0.0.1:52002:52002" # debugger
environment:
PGPASSWORD: s0secret!!
fingerprint:
networks:
- backend
ports:
- "127.0.0.1:8080:8080" # http
- "127.0.0.1:52004:52004" # debugger
volumes:
- ./volumes/echoprint-data:/opt/echoprint-data