-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
48 lines (41 loc) · 982 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
48
version: '3.5'
services:
postgres:
image: postgres:12.4-alpine
shm_size: 4g
container_name: postgres-leggo-twitter
restart: unless-stopped
volumes:
- leggo_twitter_data:/var/lib/postgresql/data/
ports:
- 7688:5432
networks:
- twitternet
feed:
build:
context: ${TWITTER_API_DADOS_PATH:-.}/feed
container_name: feed-leggo-twitter
image: feed-leggo-twitter-image
depends_on:
- postgres
networks:
- twitternet
r-twitter-service:
build:
context: ${TWITTER_API_DADOS_PATH:-.}
container_name: r-leggo-twitter
image: r-leggo-twitter-image
networks:
- twitternet
crawler-twitter-service:
build:
context: ${TWITTER_API_DADOS_PATH:-.}/crawler
container_name: crawler-leggo-twitter
image: crawler-leggo-twitter-image
networks:
- twitternet
networks:
twitternet:
name: leggo_twitter_network
volumes:
leggo_twitter_data: