renamed some thigns #153

Merged
cami merged 1 commit from infra/docker-renaming into main 2021-07-13 18:27:02 +00:00
4 changed files with 7 additions and 4 deletions

View file

@ -1 +1,2 @@
venv
src/database.py

View file

@ -2,12 +2,12 @@ version: '3.7'
services:
frontend_bt:
image: caminsha/bt-frontend
container_name: frontend_bt_prod
container_name: frontend-prod
ports:
- 3000:3000
backend-prod:
image: caminsha/bt-backend
container_name: backend_bt
container_name: frontend-prod
environment:
DEBUG: "no"
PORT: 5000

View file

@ -2,7 +2,7 @@ version: '3.7'
services:
frontend-dev:
container_name: hello_world_client
container_name: frontend-dev
build:
context: ./frontend
dockerfile: Dockerfile
@ -14,7 +14,7 @@ services:
environment:
- CHOKIDAR_USEPOLLING=true
backend-dev:
container_name: backend_bt
container_name: backend-dev
build:
context: ./backend
dockerfile: Dockerfile

View file

@ -1,2 +1,4 @@
podman stop frontend-{dev,prod} backend-{dev,prod}
podman rmi caminsha/bt-{frontend,backend}
podman-compose down
podman-compose -f docker-compose.prod.yml down