-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (44 loc) · 1.06 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
version: '3'
services:
db:
image: mysql:5.7
command: ['--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
ports:
- '3306:3306'
environment:
LANG: C.UTF-8
MYSQL_DATABASE: 'cu-graph-db'
MYSQL_USER: 'cu-graph-user'
MYSQL_PASSWORD: 'password1'
MYSQL_ROOT_PASSWORD: 'password2'
cache:
image: memcached
ports:
- "11211:11211"
entrypoint:
- memcached
- -m 64
web:
build: .
command: python catalog/manage.py runserver --insecure 0.0.0.0:8002
environment:
- PEQOD_DEBUG=True
volumes:
- .:/CUGraphWeb
- /Users/soid/Dropbox/Code/2020/columbia-catalog-data:/columbia-catalog-data
ports:
- "8000:8002"
depends_on:
- db
webwin:
build: .
command: python catalog/manage.py runserver --insecure 0.0.0.0:8002
environment:
- PEQOD_DEBUG=True
volumes:
- .:/CUGraphWeb
- "D:/Dropbox/Code/2020/columbia-catalog-data:/columbia-catalog-data"
ports:
- "8000:8002"
depends_on:
- db