sha256:1c7030158ddedc9b3f7eef0bf262613bbf77a699c92e2d7f86d4043dd6ab01ff
Last pushed
4 days by nemethviktor
Type
Compose
Manifest digest
sha256:1c7030158ddedc9b3f7eef0bf262613bbf77a699c92e2d7f86d4043dd6ab01ff
name: api-hub-test
services:
postgres:
image: postgres:16-alpine
volumes:
- api-hub-postgres-data:/var/lib/postgresql/data
healthcheck:
test: [CMD-SHELL, 'pg_isready -U $$POSTGRES_USER -d api_hub']
interval: 5s
timeout: 5s
retries: 10
restart: unless-stopped
openbao-data-init:
image: openbao/openbao:2.2.0
user: '0:0'
volumes:
- api-hub-openbao-data:/openbao/data
entrypoint: [sh, -c, 'chown -R 100:1000 /openbao/data && chmod 750 /openbao/data']
restart: 'no'
openbao:
image: openbao/openbao:2.2.0
depends_on:
openbao-data-init:
condition: service_completed_successfully
cap_add: [IPC_LOCK]
volumes:
- api-hub-openbao-data:/openbao/data
tmpfs:
- /openbao/file:uid=100,gid=1000,mode=0750
- /openbao/logs:uid=100,gid=1000,mode=0750
command: [server, '-config=/openbao/config/dev.hcl']
healthcheck:
test: [CMD-SHELL, 'bao status -address=http://127.0.0.1:8200 >/dev/null 2>&1 || test $? -eq 2']
interval: 5s
timeout: 5s
retries: 20
restart: unless-stopped
api-hub:
image: docker.io/${HUB_NAMESPACE:?set HUB_NAMESPACE}/api-hub:${RELEASE_TAG:?set RELEASE_TAG}
depends_on:
postgres:
condition: service_healthy
openbao:
condition: service_started
ports:
- '127.0.0.1:8080:8080'
volumes:
- api-hub-icis-archive:/var/lib/api-hub/icis/archive
healthcheck:
test: [CMD-SHELL, "bash -c 'echo > /dev/tcp/127.0.0.1/8080'"]
interval: 15s
timeout: 5s
retries: 10
start_period: 40s
restart: unless-stopped
volumes:
api-hub-postgres-data:
api-hub-openbao-data:
api-hub-icis-archive:
services:
api-hub:
image: docker.io/nemethviktor/api-hub:test-20261021-01@sha256:c1e33c270857c9ec6e26efed7acb62d3f847da333c1176dd7e6efde14250302f
openbao:
image: docker.io/openbao/openbao:2.2.0@sha256:19612d67a4a95d05a7b77c6ebc6c2ac5dac67a8712d8df2e4c31ad28bee7edaa
openbao-data-init:
image: docker.io/openbao/openbao:2.2.0@sha256:19612d67a4a95d05a7b77c6ebc6c2ac5dac67a8712d8df2e4c31ad28bee7edaa
postgres:
image: docker.io/library/postgres:16-alpine@sha256:721873c34ceb9f8d8fc265984940dc982404c105f19ad51be9fdc5970a6080ea
docker compose -f oci://nemethviktor/api-hub-compose:test-20261021-01 upUse the above command to pull and run the Compose file. Learn more.
The PostgreSQL object-relational database system provides reliability and data integrity.
Pulls
1B+
Stars
15038
Last Updated
3 days
OpenBao is an identity-based secrets and encryption management system.
Pulls
5M+
Stars
9
Last Updated
24 days