tested asciinema a bit
This commit is contained in:
parent
f6da44e00f
commit
29aa0dfc6f
2 changed files with 29 additions and 0 deletions
BIN
docker/archive/asciinema/.env.agebox
Normal file
BIN
docker/archive/asciinema/.env.agebox
Normal file
Binary file not shown.
29
docker/archive/asciinema/compose.yml
Normal file
29
docker/archive/asciinema/compose.yml
Normal 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:
|
Loading…
Reference in a new issue