update: create production env

This commit is contained in:
Nathan FONTEYNE 2026-07-08 11:19:35 +02:00
parent d8d4a45483
commit c3380179ce
6 changed files with 135 additions and 15 deletions

25
docker-compose.dev.yml Normal file
View file

@ -0,0 +1,25 @@
# Standalone compose file for local testing (e.g. in WSL) without a real Authentik instance.
# Use with DEV_BYPASS_AUTH=true in .env. Run with:
# docker compose -f docker-compose.dev.yml up --build
services:
app:
build: .
restart: unless-stopped
env_file: .env
ports:
- "${APP_PORT:-3000}:3000"
depends_on:
- postgres
postgres:
image: postgres:16-alpine
restart: unless-stopped
environment:
POSTGRES_DB: octane
POSTGRES_USER: octane
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- pgdata_dev:/var/lib/postgresql/data
volumes:
pgdata_dev: