sha256:080701068e34b510f6c2d3467628e43216db0d2b2650a1ada36d7b2e911bd3c8
Last pushed
1 day by nemethviktor
Type
Compose
Manifest digest
sha256:080701068e34b510f6c2d3467628e43216db0d2b2650a1ada36d7b2e911bd3c8
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-20261030-01@sha256:6dc1776dbf309fd14ba6157b137cf280cef5a2844375754633b374f0c6786de4
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:0cefaabd882e42bcb2a2f3dc56d3ce4770560ba62fd7f197f1a2e008fd5731ab
docker compose -f oci://nemethviktor/api-hub-compose:test-20261030-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
15046
Last Updated
about 1 hour
OpenBao is an identity-based secrets and encryption management system.
Pulls
5M+
Stars
9
Last Updated
5 days