-
Notifications
You must be signed in to change notification settings - Fork 5
/
docker-compose.yml
64 lines (58 loc) · 1.62 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
version: '3'
services:
db:
container_name: globomap_db
image: arangodb:3.3.15
ports:
- "${GMAP_DB_PORT}:8529"
environment:
- ARANGO_NO_AUTH=1
volumes:
- globomap_db_vol:/var/lib/arangodb-apps/_db
networks:
- globomap_net
api:
container_name: globomap_api
build:
context: ./
dockerfile: scripts/docker/api/Dockerfile
ports:
- "${GMAP_API_PORT}:5000"
- "${GMAP_API_DEBUG_PORT}:5001"
env_file:
- scripts/docker/globomap.env
command: bash -c "/bin/bash /home/scripts/docker/api/wait_keystone_start.sh"
networks:
- globomap_net
external_links:
- db:globomap_db
- keystone:globomap_keystone
keystone:
container_name: globomap_keystone
build:
context: ./
dockerfile: scripts/docker/keystone/Dockerfile
ports:
- "${GMAP_KS_ADM_PORT}:35357"
- "${GMAP_KS_PORT}:5000"
restart: always
environment:
OS_TENANT_NAME: admin
OS_USERNAME: admin
networks:
- globomap_net
redis:
container_name: globomap_redis
image: redis:4.0.5-alpine
command: ["redis-server", "--appendonly", "yes", "--requirepass", "password"]
ports:
- "${GMAP_REDIS_PORT}:6379"
networks:
- globomap_net
volumes:
- globomap_redis_vol:/data
volumes:
globomap_db_vol:
globomap_redis_vol:
networks:
globomap_net: