sha256:dbcf80bf3b14aee2a5a18d3a892e6bf2514c47bab22d19d31aa45bf9e0972947
Last pushed
4 days by nemethviktor
Type
Compose
Manifest digest
sha256:dbcf80bf3b14aee2a5a18d3a892e6bf2514c47bab22d19d31aa45bf9e0972947
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-20261104-01@sha256:0625b50e01fc279c1799bfb7fb82c66d1abd9358eb59f5c48a5d1c39912d99d5
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-20261104-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
15051
Last Updated
2 days
OpenBao is an identity-based secrets and encryption management system.
Pulls
5M+
Stars
9
Last Updated
13 days