-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdev.yml
35 lines (35 loc) · 893 Bytes
/
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
version: "3.9"
services:
frontend:
container_name: frontend-rentme-react
build: .
ports:
- 3000:80
- 1443:443
volumes:
- ./nginx/nginx-dev.conf:/etc/nginx/nginx.conf:ro
restart: always
env_file: ./.env.production
backend:
container_name: backend-rentme-expressjs
build: ./backend
ports:
- 4000:4000
restart: always
env_file: ./backend/prod.env
# mongo:
# container_name: database-rentme-mongo
# image: mongo
# environment:
# MONGO_INITDB_ROOT_USERNAME: test
# MONGO_INITDB_ROOT_PASSWORD: test
# restart: always
# mongo-express:
# image: mongo-express
# restart: always
# ports:
# - 8081:8081
# environment:
# ME_CONFIG_MONGODB_ADMINUSERNAME: test
# ME_CONFIG_MONGODB_ADMINPASSWORD: test
# ME_CONFIG_MONGODB_URL: mongodb://test:test@mongo:27017/