-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
154 lines (142 loc) · 3.8 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
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
version: '2'
services:
api:
build: .
volumes:
- ./src/api:/usr/src/app
- ./etc/cyclos:/cyclos
- ./etc/dolibarr:/dolibarr
ports:
- 8000:8000
environment:
- DJANGO_DEBUG=True
- API_PUBLIC_URL=http://localhost:8000
- DOLIBARR_PUBLIC_URL=http://localhost:8080
- BDC_PUBLIC_URL=http://localhost:8001
- GI_PUBLIC_URL=http://localhost:8002
- CEL_PUBLIC_URL=http://localhost:8003
- RAVEN_CONFIG_DSN=http://46498c24303d4b27828e5e47ce927818:6177efcf6d1d47508f1c22332c8dddaf@sentry:9000/2
depends_on:
- dolibarr-app
- cyclos-app
networks:
- eusko_net
# selenium:
# image: selenium/standalone-firefox-debug
# container_name: eusko_selenium
# depends_on:
# - api
# ports:
# - 4444:4444
# - 5900:5900
# networks:
# - eusko_net
dolibarr-app:
image: euskalmoneta/dolibarr:custom
ports:
- 8080:80
volumes:
- ./data/documents:/var/www/documents
- ./etc/dolibarr/conf.php:/var/www/html/conf/conf.php
- ./etc/dolibarr/date-timezone.ini:/usr/local/etc/php/conf.d/date-timezone.ini
depends_on:
- dolibarr-db
- cyclos-app
networks:
- eusko_net
dolibarr-db:
image: mariadb:10.1
volumes:
- ./etc/dolibarr/dump:/docker-entrypoint-initdb.d
- ./data/mariadb:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=pass
- MYSQL_DATABASE=pass
- MYSQL_USER=pass
- MYSQL_PASSWORD=pass
networks:
- eusko_net
cyclos-app:
image: cyclos/cyclos:4.13.1
ports:
- 8081:8080
environment:
- DB_HOST=cyclos-db
- DB_NAME=cyclos
- DB_USER=cyclos
- DB_PASSWORD=cyclos
links:
- cyclos-db
networks:
- eusko_net
cyclos-db:
image: cyclos/db
volumes:
- ./etc/cyclos/dump/cyclos.sql:/docker-entrypoint-initdb.d/cyclos.sql
- ./data/cyclos/postgresql:/var/lib/postgresql/data
environment:
- POSTGRES_DB=cyclos
- POSTGRES_USER=cyclos
- POSTGRES_PASSWORD=cyclos
networks:
- eusko_net
# sentry-redis:
# image: redis
# networks:
# - eusko_net
# sentry-postgres:
# image: postgres
# environment:
# - POSTGRES_PASSWORD=sentry
# - POSTGRES_USER=sentry
# volumes:
# - ./data/postgresql:/var/lib/postgresql/data
# networks:
# - eusko_net
# sentry:
# image: sentry
# environment:
# - SENTRY_SECRET_KEY="x4^nd^1k9k8=8#sa1$gu72p-g15a(ft8(d@jy@^d$ec!oe!"
# - SENTRY_POSTGRES_HOST=sentry-postgres
# - SENTRY_DB_USER=sentry
# - SENTRY_DB_PASSWORD=sentry
# - SENTRY_REDIS_HOST=sentry-redis
# ports:
# - 9000:9000
# links:
# - sentry-redis:redis
# - sentry-postgres:postgres
# networks:
# - eusko_net
# sentry-cron:
# image: sentry
# environment:
# - SENTRY_SECRET_KEY="x4^nd^1k9k8=8#sa1$gu72p-g15a(ft8(d@jy@^d$ec!oe!"
# - SENTRY_POSTGRES_HOST=sentry-postgres
# - SENTRY_DB_USER=sentry
# - SENTRY_DB_PASSWORD=sentry
# - SENTRY_REDIS_HOST=sentry-redis
# links:
# - sentry-redis:redis
# - sentry-postgres:postgres
# networks:
# - eusko_net
# command: sentry run cron
# sentry-worker:
# image: sentry
# environment:
# - SENTRY_SECRET_KEY="x4^nd^1k9k8=8#sa1$gu72p-g15a(ft8(d@jy@^d$ec!oe!"
# - SENTRY_POSTGRES_HOST=sentry-postgres
# - SENTRY_DB_USER=sentry
# - SENTRY_DB_PASSWORD=sentry
# - SENTRY_REDIS_HOST=sentry-redis
# links:
# - sentry-redis:redis
# - sentry-postgres:postgres
# networks:
# - eusko_net
# command: sentry run worker
networks:
eusko_net:
driver: bridge