galaeth-draft/docker-compose.yml

31 lines
953 B
YAML

services:
api-server:
image: forge.alveus.dev/misc/galaeth-api:latest
build: .
container_name: "galaeth-api-server"
restart: on-failure
ports:
- 8080:8080
environment:
ASPNETCORE_ENVIRONMENT: 'Development'
EmailDomainBlacklist__Enabled: false
Database__ConnectionString: 'Server=postgres;Port=5432;User Id=postgres;Password=postgres;Database=galaeth'
InitialUser__Username: 'admin'
InitialUser__Email: 'admin@change.me'
InitialUser__Password: 'Change!Me1234'
JWT__SecretKey: "11ca143299193d9968d31cb85cb30991820ed9dc231aac902ba38abf25b7b6f904e1d614391001e49d8b8af28c4f79b48bb7853ef20bf06a38c17cf8c3f694c0"
JWT__Issuer: 'localdev'
JWT__Audience: 'localdev'
db:
image: postgres:17.1-bookworm
container_name: postgres
restart: on-failure
environment:
POSTGRES_USER: 'postgres'
POSTGRES_PASSWORD: 'postgres'
POSTGRES_DB: 'galaeth'