-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
44 lines (41 loc) · 1.32 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
version: '2'
services:
server:
build: service/server
ports:
- 8080:80
volumes:
- ../sympa-code:/code
- ../sympa-db:/var/lib/mysql
#rest:
# build: service/rest
# ports:
# - 9200:9200
# - 9300:9300
# volumes:
# - ./var/es/data:/usr/share/elasticsearch/data
# - ./var/es/logs:/usr/share/elasticsearch/logs
# networks: { localnet: { ipv4_address: 172.16.238.2 } }
#client:
# build: service/client
# environment:
# ES_URL: http://es:9200
# DJANGO_SETTINGS_MODULE: pod_project.settings.dev
# CAS_SERVER_URL: http://cas.unistra.fr/cas/
# AUTH_LDAP_SERVER_URI: ldap://ldapuds.u-strasbg.fr:389
# AUTH_LDAP_BIND_DN: S3CR3T
# AUTH_LDAP_BIND_PASSWORD: S3CR3T
# AUTH_LDAP_BASE_DN: ou=uds,ou=people,o=annuaire
# command: python manage.py runserver 0.0.0.0:8010
# volumes:
# - ./pod:/code
# - ./media:/srv/media/pod
# ports:
# - 8010:8010
# links: [ es ]
# networks: { localnet: { ipv4_address: 172.16.238.3 } }
# networks:
# localnet:
# driver: bridge
# ipam:
# config: [ { subnet: '172.16.238.0/24' } ]