-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (57 loc) · 1.32 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
# It is very important to specify the version of the yml file
version: '3'
# Here on we specify the services that compose out pipeline
# each service represents a container
services:
tweet_collector:
build: ./tweet_coll/.
volumes:
- ./tweet_coll/:/app
# To persist the data from/to a container we can add vovlumes
# container_name: luftcontaine
depends_on:
- mongodb
env_file:
- .env
mongodb:
image: mongo:latest
container_name: mongo_container_new
ports:
- 27017:27017
env_file:
- .env
#Mapping the port 5555 from my local host to the 5432 of the container
postgresdb:
image: postgres
ports:
- 5555:5432
env_file:
- .env
etl:
build: ./etl_job/.
volumes:
- ./etl_job/:/app
depends_on:
- mongodb
- postgresdb
env_file:
- .env
slackbot:
image: slackbot
container_name: mybot
build: Slack_Bot/
volumes:
- ./Slack_Bot/:/app
depends_on:
- postgresdb
env_file:
- .env
# metabase:
# image: metabase
# container_name: Matecontainer
# ports:
# - 3000:3000
# depends_on:
# - postgresdb
# env_file:
# - .env