-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
85 lines (78 loc) · 1.72 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
version: '2'
services:
indy_pool:
build:
context: ./ci/
dockerfile: indy-pool.dockerfile
args:
pool_ip: '10.0.0.2'
image: sirius_indy_pool
container_name: sirius_indy_pool
working_dir: /home/indy
networks:
sirius_pool_network:
ipv4_address: 10.0.0.2
volumes:
- sandbox:/var/lib/indy/sandbox/
cache:
image: memcached
networks:
sirius_pool_network:
ipv4_address: 10.0.0.3
redis:
image: redis:latest
networks:
sirius_pool_network:
ipv4_address: 10.0.0.4
db:
image: postgres:13.1
environment:
- POSTGRES_PASSWORD=postgres
networks:
sirius_pool_network:
ipv4_address: 10.0.0.5
test_agent:
image: socialsirius/dev:test_python_indy_agent
command: bash -c "python3.6 indy-agent.py 8085"
ports:
- "8085:8085"
extra_hosts:
- "endpoints.com:10.0.0.6"
networks:
sirius_pool_network:
ipv4_address: 10.0.0.7
agent:
build:
context: .
image: "socialsirius/indy-agent:${VERSION}"
environment:
- DJANGO_SETTINGS_MODULE=settings.develop
- DATABASE_USER=postgres
- DATABASE_PASSWORD=postgres
- DATABASE_NAME=postgres
- DATABASE_HOST=db
- TEST_POOL_IP=10.0.0.2
working_dir: /home/indy
volumes:
- sandbox:/home/indy/sandbox
networks:
sirius_pool_network:
ipv4_address: 10.0.0.6
links:
- indy_pool
depends_on:
- db
- indy_pool
- redis
- cache
- test_agent
networks:
sirius_pool_network:
driver: bridge
ipam:
driver: default
config:
- subnet: "10.0.0.0/24"
gateway: "10.0.0.1"
volumes:
sandbox: