-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yaml
executable file
·64 lines (58 loc) · 1.53 KB
/
docker-compose.yaml
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
version: '3'
services:
front:
image: node:12.4.0-alpine
container_name: vision-front
image: inatetsu/vision-front
# build: ./vision-front
ports:
- 8080:8080
volumes:
- ./vision-front:/app
stdin_open: true
privileged: true
tty: true
command: npm run serve
environment:
VUE_APP_API: http://3.134.88.67:8000
# vision-api:
# # build: ./vision-api
# image: inatetsu/vision-api
# ports:
# - 8000:8000
# volumes:
# - ./vision-api:/myapp
# command: python ./vision_app/manage.py runserver 0.0.0.0:8000
# # command: bash -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000 --noreload"
# container_name: vision-api
# tty: true
# stdin_open: true
# privileged: true
# depends_on:
# - news-db
# environment:
# - DB_news_NAME=news
# - DB_wiki_NAME=wiki
# - DB_USER=root
# - DB_PASS=password
# - DB_wiki_HOST=wiki-db
# - DB_news_HOST=news-db
# news-db:
# # build: ./news_db
# image: inatetsu/news-db
# command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci
# volumes:
# - ./news_db/data:/var/lib/mysql
# - ./news_db/data:/var/lib/mysql-files
# - ./news_db/conf:/etc/mysql/conf.d
# - ./news_db/init:/docker-entrypoint-initdb.d/
# ports:
# - 3307:3306
#nginx:
# image: nginx:1.13
# ports:
# - "8000:8000"
# volumes:
# - ./nginx/conf:/etc/nginx/conf.d
# depends_on:
# - vision-api