Merge pull request 'Changed the docker-compose files so that everything works' (#7) from docker/compose-fix into main

Reviewed-on: #7
This commit is contained in:
cami 2021-05-26 22:34:33 +00:00
commit c23ba06f98
2 changed files with 18 additions and 16 deletions

View file

@ -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

View file

@ -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