Fix docker cycle

This commit is contained in:
Oliver-Akins 2024-03-27 21:44:41 -06:00
parent eef14ad0ee
commit 933a022c4f
2 changed files with 12 additions and 8 deletions

View file

@ -1,4 +1,3 @@
version: "3"
name: "tqna"
services:
@ -6,7 +5,8 @@ services:
build:
context: "./api"
dockerfile: "dockerfile"
target: dev
target: prod
restart: "unless-stopped"
ports:
- "6969:6969"
environment:
@ -20,25 +20,29 @@ services:
- "./api:/app"
links:
- "db"
depends_on:
- "db"
stdin_open: true
tty: true
# stdin_open: true
# tty: true
site:
build:
context: "./frontend"
dockerfile: "dockerfile"
target: "dev"
target: "prod"
restart: "unless-stopped"
ports:
- "5173:5173"
- "8080:8080"
volumes:
- "./frontend:/app"
depends_on:
- "api"
stdin_open: true
tty: true
# stdin_open: true
# tty: true
db:
build: