-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (47 loc) · 1012 Bytes
/
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
version: '3'
services:
db:
container_name: db
restart: always
build: ./postgres
volumes:
- ./tmp/db:/var/lib/postgresql/data
ports:
- "5432:5432"
redis:
container_name: cache
image: redis:alpine
restart: always
authenticator_app:
container_name: authenticator_app
build: ./authenticator
ports:
- "8000:8000"
links:
- db
fetcher_app:
container_name: fetcher_app
build: ./fetcher
ports:
- "8001:8001"
links:
- db
- redis
adminer:
image: adminer
ports:
- "8080:8080"
links:
- db
api-gateway:
build: ./nginx
tty: true
links:
- authenticator_app
- fetcher_app
ports:
- "80:80"
restart: always
depends_on:
- authenticator_app
- fetcher_app