-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yaml.template
71 lines (65 loc) · 1.21 KB
/
docker-compose.yaml.template
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
services:
web:
container_name: web
image: nginx
restart: always
networks:
- ton-network
build:
context: .
dockerfile: nginx.Dockerfile
target: nginxBuilder
ports:
- $NGINX_PORT:10001
depends_on:
- database
- indexer
api:
image: ton_api
restart: always
build:
context: .
dockerfile: api.Dockerfile
target: apiTon
expose:
- "14001"
networks:
- ton-network
depends_on:
- database
- web
- indexer
indexer:
container_name: indexer
image: ton_indexer
restart: always
build:
context: .
dockerfile: indexer.Dockerfile
target: ton_indexer
networks:
- ton-network
depends_on:
- database
database:
container_name: ton_database
image: postgres:15
build:
context: .
dockerfile: migration.Dockerfile
target: ton_migration
volumes:
- pgdata:/var/lib/postgresql/data
- ./scripts/postgresql.conf:/etc/postgresql.conf
ports:
- 5432:5432
env_file: ton.env
networks:
- ton-network
networks:
ton-network: {}
volumes:
pgdata:
external: true
name:
parse_data_test