forked from ZJONSSON/node-etl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
68 lines (61 loc) · 1.3 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
version: "3"
# IMPORTANT
# Make sure you run setup-docker.sh before executing this!!!
#
# Bump the client image version HERE when changing client/Dockerfile
services:
runner:
build:
context: .
dockerfile: ./Dockerfile
depends_on:
- mongodb
- elasticsearch
- mysql
- postgres
links:
- mongodb
- elasticsearch
- mysql
- postgres
working_dir: /usr/src/app
volumes:
- .:/usr/src/app
- ./.docker_node_modules:/usr/src/app/node_modules:Z
command: sh -c 'tail -f /dev/null'
ports:
- "9229:9229"
expose:
- 9229
networks:
etl-network:
ipv4_address: 173.23.0.100
mongodb:
image: 'mongo:3.4-xenial'
networks:
- etl-network
mysql:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: example
networks:
- etl-network
postgres:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: example
networks:
- etl-network
elasticsearch:
image: elasticsearch:6.4.1
environment: ['http.host=0.0.0.0', 'transport.host=127.0.0.1']
networks:
- etl-network
networks:
etl-network:
ipam:
config:
- subnet: 173.23.0.0/16