diff --git a/docker/archive/asciinema/.env.agebox b/docker/archive/asciinema/.env.agebox new file mode 100644 index 0000000..9803eaa Binary files /dev/null and b/docker/archive/asciinema/.env.agebox differ diff --git a/docker/archive/asciinema/compose.yml b/docker/archive/asciinema/compose.yml new file mode 100644 index 0000000..d153233 --- /dev/null +++ b/docker/archive/asciinema/compose.yml @@ -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: