Update docker-compose.prod.yml

This commit is contained in:
2026-05-12 23:38:11 +00:00
parent d384af0d9c
commit df6d53c12c
+9 -7
View File
@@ -1,13 +1,14 @@
services:
postgres:
image: postgres:18.3
container_name: fb-postgres
restart: unless-stopped
environment:
POSTGRES_DB: forgebucket
POSTGRES_USER: forgebucket
POSTGRES_PASSWORD: forgebucket
volumes:
- postgres_data:/var/lib/postgresql
- fb_pg_data:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U forgebucket"]
interval: 5s
@@ -15,7 +16,8 @@ services:
retries: 10
app:
build: .
image: thedangle/forgebucket:v0.9.1
container_name: fb-app
restart: unless-stopped
depends_on:
postgres:
@@ -26,10 +28,10 @@ services:
ports:
- "8080:8080"
volumes:
- repo_data:/tmp/forgebucket/repos
- oci_data:/tmp/forgebucket/oci
- fb_repo_data:/tmp/forgebucket/repos
- fb_oci_data:/tmp/forgebucket/oci
volumes:
postgres_data:
repo_data:
oci_data:
fb_pg_data:
fb_repo_data:
fb_oci_data: