server/docker/archive/asciinema/compose.yml

30 lines
622 B
YAML
Raw Normal View History

2024-12-31 18:35:52 +01:00
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: