services: sori-studio: build: context: . dockerfile: Dockerfile container_name: sori-studio env_file: - ${ENV_FILE:-.env.production} ports: - "${APP_PORT:-43118}:3000" volumes: - ./public/uploads:/app/public/uploads depends_on: - sori-studio-db restart: unless-stopped sori-studio-db: image: postgres:16-alpine container_name: sori-studio-db env_file: - ${ENV_FILE:-.env.production} environment: POSTGRES_DB: ${POSTGRES_DB} POSTGRES_USER: ${POSTGRES_USER} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} ports: - "${DB_PORT:-43119}:5432" volumes: - sori-studio-postgres:/var/lib/postgresql/data - ./db/migrations:/docker-entrypoint-initdb.d:ro restart: unless-stopped volumes: sori-studio-postgres: