forked from US-CBP/GTAS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
neo4j-etl-docker-compose.yml
59 lines (53 loc) · 1.26 KB
/
neo4j-etl-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
version: "3.7"
services:
etl-job:
container_name: etl-job
image: wcogtas/neo4j-etl-job:1.0.0
build:
context: .
dockerfile: ./gtas-neo4j-etl/etl_job.Dockerfile
environment:
NEO4J_HOSTNAME: neo4j
DB_HOSTNAME: mariadb
restart: always
secrets:
- mysql_etl_user
- mysql_etl_password
- etl_neo4j_user
- etl_neo4j_password
networks:
- GTAS_webapp-network
deploy:
placement:
constraints:
- node.hostname == gtas-app-node
depends_on:
- neo4j
neo4j:
container_name: neo4j
image: wcogtas/neo4j:1.0.0
build:
context: .
dockerfile: ./gtas-neo4j-etl/neo4j.Dockerfile
restart: always
volumes:
- neo4j-data:/data
ports:
- 7474:7474
- 7687:7687
networks:
- GTAS_webapp-network
volumes:
neo4j-data:
networks:
GTAS_webapp-network:
attachable: true
secrets:
mysql_etl_user:
file: ./gtas-parent/gtas-commons/secrets/mysql_etl_user.txt
mysql_etl_password:
file: ./gtas-parent/gtas-commons/secrets/mysql_etl_password.txt
etl_neo4j_user:
file: ./gtas-parent/gtas-commons/secrets/etl_neo4j_user.txt
etl_neo4j_password:
file: ./gtas-parent/gtas-commons/secrets/etl_neo4j_password.txt