-
Notifications
You must be signed in to change notification settings - Fork 30
/
docker-compose.local.yml
62 lines (57 loc) · 1.39 KB
/
docker-compose.local.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
version: '3'
services:
federation-service:
build: .
image: uci-apis:0.0.1
container_name: federation-service
restart: unless-stopped
volumes:
- ./src/helpers/vaultDataMock.json:/opt/uci/src/helpers/vaultDataMock.json
env_file:
- ./src/.env
ports:
- 9998:9999
uci-db:
container_name: uci-db
image: postgres:9.6
env_file:
- ./src/.env
command: 'postgres -c max_connections=1000 -c shared_buffers=300MB'
ports:
- '15432:5432'
volumes:
- ./pgdata:/var/lib/postgresql/data
gql:
image: fedormelexin/graphql-engine-arm64:latest
env_file:
- ./src/.env
ports:
- '15003:8080'
depends_on:
- uci-db
restart: always
scheduler-db:
container_name: scheduler-db
image: redis:latest
ports:
- '6379:6379'
command: ['redis-server', '--appendonly', 'yes']
hostname: redis
volumes:
- ./redis-data:/data
- ./redis.conf:/usr/local/etc/redis/redis.conf
vault:
image: vault:latest
volumes:
- ./vault/config:/vault/config
- ./vault/policies:/vault/policies
- ./vault/data:/vault/data
ports:
- 8200:8200
environment:
- VAULT_ADDR=http://0.0.0.0:8200
- VAULT_API_ADDR=http://0.0.0.0:8200
- VAULT_ADDRESS=http://0.0.0.0:8200
cap_add:
- IPC_LOCK
command: vault server -config=/vault/config/vault.json