renamed some thigns
This commit is contained in:
parent
b335a471cb
commit
46ce8655f3
4 changed files with 7 additions and 4 deletions
|
@ -1 +1,2 @@
|
||||||
venv
|
venv
|
||||||
|
src/database.py
|
||||||
|
|
|
@ -2,12 +2,12 @@ version: '3.7'
|
||||||
services:
|
services:
|
||||||
frontend_bt:
|
frontend_bt:
|
||||||
image: caminsha/bt-frontend
|
image: caminsha/bt-frontend
|
||||||
container_name: frontend_bt_prod
|
container_name: frontend-prod
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
backend-prod:
|
backend-prod:
|
||||||
image: caminsha/bt-backend
|
image: caminsha/bt-backend
|
||||||
container_name: backend_bt
|
container_name: frontend-prod
|
||||||
environment:
|
environment:
|
||||||
DEBUG: "no"
|
DEBUG: "no"
|
||||||
PORT: 5000
|
PORT: 5000
|
||||||
|
|
|
@ -2,7 +2,7 @@ version: '3.7'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
frontend-dev:
|
frontend-dev:
|
||||||
container_name: hello_world_client
|
container_name: frontend-dev
|
||||||
build:
|
build:
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
@ -14,7 +14,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- CHOKIDAR_USEPOLLING=true
|
- CHOKIDAR_USEPOLLING=true
|
||||||
backend-dev:
|
backend-dev:
|
||||||
container_name: backend_bt
|
container_name: backend-dev
|
||||||
build:
|
build:
|
||||||
context: ./backend
|
context: ./backend
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|
2
stop.sh
2
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 down
|
||||||
podman-compose -f docker-compose.prod.yml down
|
podman-compose -f docker-compose.prod.yml down
|
||||||
|
|
Loading…
Reference in a new issue