Files
XBid/docker-compose.yml
T
twotalesanimation 9dcf310806
Deploy / deploy (push) Successful in 2m3s
User Access
2026-08-18 15:23:22 +02:00

51 lines
895 B
YAML

services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_DB: xbid
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
networks:
- xbid
app:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
environment:
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/xbid
NEXTAUTH_SECRET: hZTKvtZtchjbJulsVE8Kf5YPLibR619JoK/z7vO2i/s=
NEXTAUTH_URL: https://xbid.twotalesvfx.com
depends_on:
postgres:
condition: service_healthy
networks:
- xbid
- npm_default
volumes:
postgres_data:
networks:
xbid:
npm_default:
external: true