-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose-test.yml
executable file
·72 lines (67 loc) · 1.58 KB
/
docker-compose-test.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
69
70
version: '3'
services:
web:
image: gel2mdt_web
build:
context: .
command: bash -c ". /root/gel2mdt/Docker/startup_script.sh && cd /root/gel2mdt/gelweb && python manage.py runserver 0.0.0.0:8001"
ports:
- "8001:8001"
stdin_open: true
tty: true
env_file:
- /etc/gel2mdt/credentials
volumes:
- .:/root/gel2mdt/
- ~/.vep:/root/.vep
- ~/gel2mdt_resources:/root/gel2mdt_cache
depends_on:
- db
db:
image: mysql:5.7
restart: always
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=gel2mdt_db
- MYSQL_USER=paddy
env_file:
- /etc/gel2mdt/credentials
volumes:
- ~/gel2mdt_resources/gel2mdt_db:/var/lib/mysql
jupyter:
image: gel2mdt_jupyter
build: .
restart: always
build:
context: .
command: bash -c ". /root/gel2mdt/Docker/startup_script.sh && jupyter notebook --generate-config -y && cd /root/gel2mdt/gelweb && python manage.py shell_plus --notebook"
volumes:
- .:/root/gel2mdt/
env_file:
- /etc/gel2mdt/credentials
ports:
- "8891:8888"
depends_on:
- db
- web
phpmyadmin:
image: phpmyadmin/phpmyadmin
restart: always
volumes:
- /sessions
ports:
- 8080:80
environment:
- PMA_ARBITRARY=1
depends_on:
- db
# db:
# image: postgres:10
# restart: always
# environment:
# - POSTGRES_DB=gel2mdt_db
# - POSTGRES_USER=paddy
# env_file:
# - /etc/gel2mdt/credentials
# volumes:
# - ~/gel2mdt_resources/gel2mdt_db:/var/lib/postgresql/data