Fixup Docker files

This commit is contained in:
2024-12-16 18:29:57 +01:00
parent 0d32f15ee9
commit 77c5903cf1
5 changed files with 139 additions and 132 deletions

View File

@ -8,6 +8,10 @@ services:
- ./settings:/usr/share/tranga-api
ports:
- "6531:6531"
depends_on:
- tranga-pg
environment:
- POSTGRES_HOST=tranga-pg
restart: unless-stopped
tranga-website:
image: glax/tranga-website:latest
@ -17,8 +21,11 @@ services:
depends_on:
- tranga-api
restart: unless-stopped
api:
image: api
build:
context: .
dockerfile: API/Dockerfile
tranga-pg:
image: postgres:latest
container_name: tranga-pg
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=postgres
restart: unless-stopped