✨ Update design
This commit is contained in:
+43
-33
@@ -1,35 +1,45 @@
|
||||
services:
|
||||
app:
|
||||
image: git.lukas-harat.com/lukas/promo_steakhouse:${IMAGE_TAG:-latest}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '3003:3000'
|
||||
environment:
|
||||
DATABASE_URL: postgres://steakhouse:${POSTGRES_PASSWORD}@postgres:5432/steakhouse
|
||||
BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET}
|
||||
BETTER_AUTH_URL: ${BETTER_AUTH_URL}
|
||||
STAFF_SEED_EMAIL: ${STAFF_SEED_EMAIL}
|
||||
STAFF_SEED_PASSWORD: ${STAFF_SEED_PASSWORD}
|
||||
RESEND_API_KEY: ${RESEND_API_KEY}
|
||||
RESERVATIONS_FROM_EMAIL: ${RESERVATIONS_FROM_EMAIL}
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
services:
|
||||
app:
|
||||
image: git.lukas-harat.com/lukas/promo_rathaus:${IMAGE_TAG:-latest}
|
||||
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_USER: steakhouse
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: steakhouse
|
||||
volumes:
|
||||
- steakhouse-postgres-data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U steakhouse -d steakhouse"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
steakhouse-postgres-data:
|
||||
ports:
|
||||
- "3003:3000"
|
||||
|
||||
environment:
|
||||
DATABASE_URL: postgres://promo_rathaus:${POSTGRES_PASSWORD}@postgres:5432/promo_rathaus
|
||||
BETTER_AUTH_SECRET: ${BETTER_AUTH_SECRET}
|
||||
BETTER_AUTH_URL: ${BETTER_AUTH_URL}
|
||||
STAFF_SEED_EMAIL: ${STAFF_SEED_EMAIL}
|
||||
STAFF_SEED_PASSWORD: ${STAFF_SEED_PASSWORD}
|
||||
RESEND_API_KEY: ${RESEND_API_KEY}
|
||||
RESERVATIONS_FROM_EMAIL: ${RESERVATIONS_FROM_EMAIL}
|
||||
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
environment:
|
||||
POSTGRES_USER: promo_rathaus
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: promo_rathaus
|
||||
|
||||
volumes:
|
||||
- /mnt/YOUR_POOL/apps/promo-rathaus/postgres:/var/lib/postgresql/data
|
||||
|
||||
healthcheck:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"pg_isready -U promo_rathaus -d promo_rathaus"
|
||||
]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
start_period: 10s
|
||||
Reference in New Issue
Block a user