added typst as doc creator and put it into compose container

This commit is contained in:
2025-12-02 16:50:37 +01:00
parent 6ab48eb534
commit 02b5d88d34
8 changed files with 115 additions and 28 deletions

View File

@@ -1,12 +1,6 @@
name: arbeitszeitmessung-dev
services:
db:
image: postgres:16
restart: unless-stopped
env_file:
- .env
environment:
PGDATA: /var/lib/postgresql/data/pg_data
volumes:
- ${POSTGRES_PATH}:/var/lib/postgresql/data
# - ${POSTGRES_PATH}/initdb:/docker-entrypoint-initdb.d
@@ -19,21 +13,8 @@ services:
ports:
- 8001:8080
backend:
image: git.letsstein.de/tom/arbeitszeitmessung
restart: unless-stopped
env_file:
- .env
environment:
POSTGRES_HOST: db
POSTGRES_DB: ${POSTGRES_DB}
EXPOSED_PORT: ${EXPOSED_PORT}
NO_CORS: true
ports:
- ${EXPOSED_PORT}:8080
volumes:
- ../logs:/app/Backend/logs
depends_on:
- db
swagger:
image: swaggerapi/swagger-ui

View File

@@ -12,20 +12,25 @@ services:
- ${POSTGRES_PATH}:/var/lib/postgresql/data
- ${POSTGRES_PATH}/initdb:/docker-entrypoint-initdb.d
ports:
- 5432:5432
- ${POSTGRES_PORT}:5432
backend:
image: git.letsstein.de/tom/arbeitszeitmessung
image: git.letsstein.de/tom/arbeitszeitmessung-webserver
env_file:
- .env
environment:
POSTGRES_HOST: db
POSTGRES_DB: ${POSTGRES_DB}
EXPOSED_PORT: ${EXPOSED_PORT}
ports:
- ${EXPOSED_PORT}:8080
- ${WEB_PORT}:8080
depends_on:
- db
- document-creator
volumes:
- ../logs:/app/Backend/logs
restart: unless-stopped
document-creator:
image: git.letsstein.de/tom/arbeitszeitmessung-doc-creator
container_name: ${TYPST_CONTAINER}
restart: unless-stopped