inffo2/compose.yml

27 lines
676 B
YAML

services:
inffo2:
container_name: inffo2
build:
context: .
args:
DB_LOCATION: ${DB_LOCATION}
environment:
AUTH_SECRET: ${AUTH_SECRET}
AUTH_GITHUB_ID: ${AUTH_GITHUB_ID}
AUTH_GITHUB_SECRET: ${AUTH_GITHUB_SECRET}
DB_DRIVER: ${DB_DRIVER}
DB_LOCATION: ${DB_LOCATION}
ports:
- 3000:3000
restart: unless-stopped
postgres:
container_name: inffo2-postgres
hostname: inffo2-postgres
image: postgres:15
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
ports:
- 5432:5432
restart: unless-stopped