-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
46 lines (41 loc) · 1.11 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
version: "3.6"
services:
mongo:
image: "mongo:6.0.3"
volumes:
- data2:/data/db
networks: [ database ]
environment:
MONGO_INITDB_ROOT_USERNAME: "root"
MONGO_INITDB_ROOT_PASSWORD: "development-password"
server:
# Replace by a specific version. Do not use 'latest' in production!
# https://gitlab.com/opensavvy/formulaide/-/releases
image: "registry.gitlab.com/opensavvy/formulaide/server:latest"
depends_on: [ mongo ]
networks: [ database, internal-proxy ]
environment:
# Coordonnées de la base de données
formulaide_host: "mongo"
formulaide_port: 27017
formulaide_database: "formulaide"
formulaide_username: "root"
formulaide_password: "development-password"
formulaide_report_email: "[email protected]"
proxy:
image: "caddy:2.6.2-alpine"
depends_on: [ server ]
networks: [ internal-proxy ]
volumes:
- caddy_data:/data
- caddy_config:/config
volumes:
data2:
name: data2
caddy_data:
name: caddy_data
caddy_config:
name: caddy_config
networks:
database:
internal-proxy: