new format wip

This commit is contained in:
Dylan Pizzo
2026-06-10 21:47:30 -04:00
parent 07595c31ef
commit 876404d8f5
45 changed files with 10893 additions and 144129 deletions
+14 -31
View File
@@ -1,33 +1,16 @@
version: '3.9'
version: "3.9"
services:
app:
container_name: picobook-app
image: node
build:
context: .
dockerfile: Dockerfile
target: base
env_file:
.env
ports:
- ${PORT}:${PORT}
depends_on:
- db
profiles: ["prod"]
app:
container_name: picobook-app
image: node
build:
context: .
dockerfile: Dockerfile
target: base
env_file: .env
ports:
- ${PORT}:${PORT}
profiles: ["prod"]
db:
container_name: picobook-postgres
image: postgres
env_file:
.env
ports:
- '5432:${DB_PORT}'
volumes:
- data:/data/db
environment:
- POSTGRES_PASSWORD=${DB_PASSWORD}
- POSTGRES_DB=${DB_NAME}
profiles: ["dev", "prod"]
volumes:
data: {}
volumes:
data: {}