Changed the docker-compose files so that everything works #7
2 changed files with 18 additions and 16 deletions
|
@ -1,10 +1,10 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
hello-world-prod:
|
||||
container_name: hello_world_cl_prod
|
||||
frontend_bt_prod:
|
||||
container_name: frontend_bt_prod
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile.prod
|
||||
ports:
|
||||
- 3000:80
|
||||
- 8877:80
|
||||
|
|
|
@ -7,20 +7,22 @@ services:
|
|||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
tty: true
|
||||
volumes:
|
||||
- "./frontend:/app:z"
|
||||
ports:
|
||||
- 3000:3000
|
||||
environment:
|
||||
- CHOKIDAR_USEPOLLING=true
|
||||
# backend-dev:
|
||||
# container_name: backend_bt
|
||||
# build:
|
||||
# context: ./backend
|
||||
# dockerfile: Dockerfile
|
||||
# tty: true
|
||||
# volumes:
|
||||
# - ./backend:/usr/src/app/
|
||||
# ports:
|
||||
# - 5000:5000
|
||||
# environment:
|
||||
# PORT: 5000
|
||||
# FLASK_DEBUG: 1
|
||||
backend-dev:
|
||||
container_name: backend_bt
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
tty: true
|
||||
volumes:
|
||||
- ./backend:/usr/src/app/
|
||||
ports:
|
||||
- 5000:5000
|
||||
environment:
|
||||
PORT: 5000
|
||||
FLASK_DEBUG: 1
|
||||
|
|
Loading…
Reference in a new issue