-
Notifications
You must be signed in to change notification settings - Fork 21
/
full-stack-compose.yml
55 lines (49 loc) · 1.04 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
version: '2'
services:
db:
image: jayjohnson/schemaprototyping:1.0.0
container_name: "stocksdb"
hostname: "stocksdb"
networks:
- datapype
env_file:
- ./test/db.env
volumes:
- ./src/databases/schema:/opt/work/schema
ports:
- "81:80"
- "3307:3306"
jupyter:
image: jayjohnson/jupyter:2.0.6
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:
- .:/opt/work
- ./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