forked from pinknetworkx/eosio-contract-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (51 loc) · 1.3 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
version: '3.0'
services:
eosio-contract-api-filler:
container_name: eosio-contract-api-filler
build: .
command: yarn run start:filler
restart: on-failure
depends_on:
- eosio-contract-api-postgres
- eosio-contract-api-redis
volumes:
- ./config:/home/application/app/config
networks:
- eosio-contract-api
eosio-contract-api-server:
container_name: eosio-contract-api-server
build: .
command: yarn run start:server
restart: on-failure
ports:
- "9000:9000"
depends_on:
- eosio-contract-api-postgres
- eosio-contract-api-redis
volumes:
- ./config:/home/application/app/config
networks:
- eosio-contract-api
eosio-contract-api-redis:
container_name: eosio-contract-api-redis
image: redis:5-alpine
restart: on-failure
volumes:
- ./docker/redis/data:/data
networks:
- eosio-contract-api
eosio-contract-api-postgres:
container_name: eosio-contract-api-postgres
image: postgres:12
restart: on-failure
shm_size: '8gb'
environment:
- 'POSTGRES_USER=eosio-contract-api'
- 'POSTGRES_PASSWORD=changeme'
volumes:
- ./docker/postgres/data:/var/lib/postgresql/data
networks:
- eosio-contract-api
networks:
eosio-contract-api:
driver: bridge