tested asciinema a bit

This commit is contained in:
Erik Grobecker 2024-12-31 18:35:52 +01:00
parent f6da44e00f
commit 29aa0dfc6f
Signed by: Erik
GPG key ID: 80D020D0ABBD3FB2
2 changed files with 29 additions and 0 deletions

Binary file not shown.

View file

@ -0,0 +1,29 @@
services:
asciinema:
image: ghcr.io/asciinema/asciinema-server:20240428
ports:
- '16104:4000'
- '33419:4002'
env_file:
- .env
volumes:
- asciinema_data:/var/opt/asciinema
depends_on:
postgres:
condition: service_healthy
postgres:
image: docker.io/library/postgres:14
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- postgres_data:/var/lib/postgresql/data
healthcheck:
test: [ 'CMD-SHELL', 'pg_isready -U postgres' ]
interval: 2s
timeout: 5s
retries: 10
volumes:
asciinema_data:
postgres_data: