forked from yeldiRium/st3k101
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
78 lines (68 loc) · 1.28 KB
/
docker-compose.dev.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
71
72
73
74
75
76
77
78
version: '3.1'
services:
postgres:
build: postgres
restart: unless-stopped
environment:
- POSTGRES_PASSWORD=kksrk0vv3zigez6
- POSTGRES_USER=flask
- POSTGRES_DB=st3k101
volumes:
- postgres:/var/lib/postgresql/data
adminer:
image: adminer
restart: unless-stopped
ports:
- 8080:8080
memcached:
image: memcached:1.5-alpine
restart: unless-stopped
backend:
build:
context: backend
dockerfile: Dockerfile-dev
env_file:
- backend.env
restart: unless-stopped
links:
- memcached
- postgres
- xapi-publisher
volumes:
- ./backend/app:/app
frontend:
build:
context: frontend
dockerfile: Dockerfile-dev
volumes:
- ./frontend/dist:/usr/app/dist:rw
xapi-publisher:
build: xapi-publisher
restart: unless-stopped
volumes:
- ./xapi-publisher/app:/app
links:
- mongo
- redis
redis:
image: library/redis
volumes:
- redis:/data
mongo:
image: bitnami/mongodb:3.6
volumes:
- mongo:/bitnami
nginx:
build: nginx
ports:
- 80:80
links:
- backend
- frontend
environment:
- NGINX_HOST=localhost
- NGINX_PORT=80
volumes:
postgres:
mongo:
redis: