-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
71 lines (70 loc) · 2.69 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
# This file is mainly relevant for development (local) purposes.
# It is not used in production and is not representative of the production environment.
# The production docker-compose.yml is generated from this file : docker-compose.yml.erb
# in the industrialisation repository.
version: "2.4"
services:
teleservices:
build:
args:
DEBIAN_VERSION: bookworm
context: teleservices
image: teleservices/bookworm:latest
mem_limit: 2048m
ports:
- "80:80"
extra_hosts:
local.example.net: 127.0.0.1
local-portail-agent.example.net: 127.0.0.1
local-agendas.example.net: 127.0.0.1
local-auth.example.net: 127.0.0.1
local-formulaires.example.net: 127.0.0.1
local-documents.example.net: 127.0.0.1
local-passerelle.example.net: 127.0.0.1
local-hobo.example.net: 127.0.0.1
local-stats.example.net: 127.0.0.1
volumes:
- ./data/bijoe:/var/lib/bijoe/tenants
- ./data/hobo:/var/lib/hobo/tenants
- ./data/chrono:/var/lib/chrono/tenants
- ./data/combo:/var/lib/combo/tenants
- ./data/authentic2:/var/lib/authentic2-multitenant/tenants
- ./data/wcs:/var/lib/wcs
- ./data/passerelle:/var/lib/passerelle/tenants
- ./config/nginx:/etc/nginx/sites-available
- ./config/chrono/secret:/etc/chrono/secret
- ./config/chrono/settings.d:/etc/chrono/settings.d
- ./config/combo/secret:/etc/combo/secret
- ./config/combo/settings.d:/etc/combo/settings.d
- ./config/authentic2/secret:/etc/authentic2-multitenant/secret
- ./config/authentic2/settings.d:/etc/authentic2-multitenant/settings.d
- ./config/authentic2/settings.json:/etc/authentic2-multitenant/settings.json
- ./config/bijoe/secret:/etc/bijoe/secret
- ./config/bijoe/settings.d:/etc/bijoe/settings.d
- ./config/hobo/secret:/etc/hobo/secret
- ./config/hobo/recipe.json:/etc/hobo/recipe.json
- ./config/hobo/extra:/etc/hobo/extra
- ./config/hobo/settings.d:/etc/hobo/settings.d
- ./config/hobo-agent/settings.d:/etc/hobo-agent/settings.d
- ./config/passerelle/secret:/etc/passerelle/secret
- ./config/passerelle/settings.d:/etc/passerelle/settings.d
- ./config/wcs/secret:/etc/wcs/secret
- ./config/wcs/settings.d:/etc/wcs/settings.d
command: /bin/sh -c "sleep 10 ; /run.sh"
depends_on:
- database
- rabbitmq
rabbitmq:
image: rabbitmq:3.7
hostname: rabbitmq
database:
image: postgres
hostname: postgres
container_name: postgres
volumes:
- ./data/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d/
environment:
- "POSTGRES_PASSWORD=password"
memcached:
image: memcached
hostname: memcached