From 46ce8655f39dabe42b6458610c96f2a6c32d26bf Mon Sep 17 00:00:00 2001 From: cami Date: Tue, 13 Jul 2021 20:25:02 +0200 Subject: [PATCH] renamed some thigns --- backend/.dockerignore | 1 + docker-compose.prod.yml | 4 ++-- docker-compose.yml | 4 ++-- stop.sh | 2 ++ 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/backend/.dockerignore b/backend/.dockerignore index 5ceb386..75d27c5 100644 --- a/backend/.dockerignore +++ b/backend/.dockerignore @@ -1 +1,2 @@ venv +src/database.py diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index d4ea493..fd9d504 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 87e72cd..99ccc16 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/stop.sh b/stop.sh index 7f2b2e8..3f622cf 100644 --- a/stop.sh +++ b/stop.sh @@ -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