-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-test.yml
91 lines (87 loc) · 2.04 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
version: "3.9"
services:
mongo:
container_name: mongo
image: mongo
# env_file:
# - ./backend/.env
ports:
- "27017:27017"
# =============================
# volumes:
# - ./data:/data/db
# volumes:
# - mongodata:/data/db
# command: --quiet
command: mongod --quiet --logpath /dev/null
# restart: unless-stopped
# volumes:
# mongodata:
# container_name: mongo_db
# image: mongo
# backend:
# container_name: backend
# build:
# context: "./backend"
# dockerfile: "Dockerfile"
# ports:
# - "3000:3000"
# volumes:
# - ./backend/src:/home/backend/src
# - ./backend/database:/home/backend/database
# environment:
# MONGO_CONNECTION_STRING: mongodb://mongo:27018
# links:
# - mongo
# depends_on:
# - mongo
# restart: always
# backend-ts:
# container_name: backend-ts
# build:
# context: "./backend-ts"
# dockerfile: "Dockerfile"
# ports:
# - "3000:3000"
# volumes:
# - ./backend-ts/src:/home/backend-ts/src
## - ./backend-ts/database:/home/backend-ts/database
# env_file:
# - ./backend/.env
# environment:
## APP_PORT: '${APP_PORT}'
# MONGO_CONNECTION_STRING: '${MONGO_CONNECTION_STRING}'
# JWT_SECRET: '${JWT_SECRET}'
# JWT_EXP: '${JWT_EXP}'
# links:
# - mongo
# depends_on:
# - mongo
# restart: always
# frontend:
# container_name: frontend
# build:
# context: "./frontend"
# dockerfile: "Dockerfile"
## args:
## REACT_APP_WEATHER_HOST: ${REACT_APP_WEATHER_HOST}
# ports:
# - "3000:3000"
# depends_on:
# - backend
# volumes:
# - ./frontend/src:/home/frontend/src
# frontend-vue:
# container_name: frontend-vue
# build:
# context: "./frontend-vue"
# dockerfile: "Dockerfile"
## args:
## REACT_APP_WEATHER_HOST: ${REACT_APP_WEATHER_HOST}
# ports:
# - "4000:4000"
## depends_on:
## - backend
# volumes:
# - ./frontend-vue/src:/home/frontend/src
#