forked from jay-johnson/sci-pype
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfull-stack-compose.yml
64 lines (58 loc) · 1.47 KB
/
full-stack-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
version: '2'
services:
db:
image: jayjohnson/schemaprototyping:1.0.0
container_name: "stocksdb"
hostname: "stocksdb"
networks:
- datapype
env_file:
- ./test/db.env
volumes:
- /opt/work/schema:/opt/work/schema
ports:
- "81:80"
- "3307:3306"
jupyter:
image: jayjohnson/jupyter:2.0.0
container_name: "jupyter"
hostname: "jupyter"
depends_on:
- "db"
entrypoint: /wait-for-its/jupyter-wait-for-it.sh
env_file:
- ./test/jupyter.env
ports:
- "82:8888"
volumes:
- ./configs:/opt/work/configs
- ./examples:/opt/work/examples
- /opt/project:/opt/project
- /opt/work/data/src:/opt/work/data/src
- /opt/work/data/dst:/opt/work/data/dst
- /opt/work/data/bin:/opt/work/data/bin
- /opt/work/data/synthesize:/opt/work/data/synthesize
- /opt/work/data/tidy:/opt/work/data/tidy
- /opt/work/data/analyze:/opt/work/data/analyze
- /opt/work/data/output:/opt/work/data/output
- ./wait-for-its:/wait-for-its
networks:
- datapype
redis-server:
image: jayjohnson/redis-single-node:1.0.0
container_name: "redis-server"
hostname: "redis-server"
depends_on:
- "db"
entrypoint: /wait-for-its/redis-wait-for-it.sh
env_file:
- ./test/redis.env
ports:
- "6000:6000"
networks:
- datapype
volumes:
- ./wait-for-its:/wait-for-its
networks:
datapype:
driver: bridge