-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
49 lines (45 loc) · 1.04 KB
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
version: "3"
services: #or containers
tweet_container:
container_name: tweets_API
build: tweet_collector/
volumes:
- ./tweet_collector:/app
depends_on:
- mongo_container
pg_container:
image: postgres:13.0 #<--name of image on DockerHub directly!
container_name: postgres1
ports:
- 5555:5432
# Port OUTSIDE Container:Port INSIDE Container
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=1234
mongo_container:
image: mongo #<--name of image on DockerHub directly!
container_name: mongo1
volumes:
- ./mongodb:/data/db
ports:
- 27018:27017
# Port OUTSIDE Container:Port INSIDE Container
etl:
build: etl/
container_name: etl
volumes:
- ./etl:/app
depends_on:
- pg_container
- mongo_container
- tweet_container
slack:
build: slack_bot_1/
container_name: slack
volumes:
- ./slack_bot_1:/app
depends_on:
- pg_container
- mongo_container
- tweet_container
- etl