-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathdocker-compose.yml
82 lines (75 loc) · 1.43 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
services:
01_no_tx:
build: ./docker/service
volumes:
- ./01-no-tx:/app
- go_pkg:/go/pkg
- go_cache:/go-cache
working_dir: /app
ports:
- 8101:8080
networks:
- apps
restart: unless-stopped
02_tx_in_logic:
build: ./docker/service
volumes:
- ./02-tx-in-logic:/app
- go_pkg:/go/pkg
- go_cache:/go-cache
working_dir: /app
ports:
- 8102:8080
networks:
- apps
restart: unless-stopped
03_tx_in_repo:
build: ./docker/service
volumes:
- ./03-tx-in-repo:/app
- go_pkg:/go/pkg
- go_cache:/go-cache
working_dir: /app
ports:
- 8103:8080
networks:
- apps
restart: unless-stopped
04_update_func_closure:
build: ./docker/service
volumes:
- ./04-update-func-closure:/app
- go_pkg:/go/pkg
- go_cache:/go-cache
working_dir: /app
ports:
- 8104:8080
networks:
- apps
restart: unless-stopped
05_tx_provider:
build: ./docker/service
volumes:
- ./05-tx-provider:/app
- go_pkg:/go/pkg
- go_cache:/go-cache
working_dir: /app
ports:
- 8105:8080
networks:
- apps
restart: unless-stopped
postgres:
image: postgres:15
environment:
- POSTGRES_PASSWORD=postgres
ports:
- 5432:5432
networks:
- apps
restart: unless-stopped
networks:
apps:
volumes:
go_pkg:
go_cache: