services: checkpost: image: ghcr.io/cvhariharan/checkpost:latest restart: unless-stopped ports: - "1323:1323" environment: - CHECKPOST_APP__ROOT_URL=http://localhost:1323 - CHECKPOST_APP__USE_TLS=false # HMAC key used to mint/verify enrollment secrets. Must stay stable across # restarts, otherwise outstanding enrollment secrets are invalidated. # Replace with your own random secret before deploying. - CHECKPOST_APP__ENROLLMENT_SIGNING_KEY=replace-with-a-random-secret - CHECKPOST_DB__HOST=postgres - CHECKPOST_DB__PORT=5432 - CHECKPOST_DB__USER=checkpost - CHECKPOST_DB__PASSWORD=checkpost - CHECKPOST_DB__DBNAME=checkpost # osquery agent install packages served by /bootstrap. - CHECKPOST_OSQUERY_BOOTSTRAP__LINUX__TARBALL_AMD64__URL=https://pkg.osquery.io/linux/osquery-5.23.0_1.linux_x86_64.tar.gz - CHECKPOST_OSQUERY_BOOTSTRAP__LINUX__TARBALL_AMD64__SHA256=0045739a68475760f7bc26ca493afda71cc02a8e4d29984717742d3e4c099296 - CHECKPOST_OSQUERY_BOOTSTRAP__LINUX__TARBALL_ARM64__URL=https://pkg.osquery.io/linux/osquery-5.23.0_1.linux_aarch64.tar.gz - CHECKPOST_OSQUERY_BOOTSTRAP__LINUX__TARBALL_ARM64__SHA256=d9d4e5f6eeabda4949ae0ba6a8db424c789ec60ffef99269f479ff4b73f46e33 - CHECKPOST_OSQUERY_BOOTSTRAP__MACOS__PKG_UNIVERSAL__URL=https://pkg.osquery.io/darwin/osquery-5.23.0.pkg - CHECKPOST_OSQUERY_BOOTSTRAP__MACOS__PKG_UNIVERSAL__SHA256=2621179c334a6482fa822732f121409bbccc36784db18f576e2965dfc4f1845d - CHECKPOST_OSQUERY_BOOTSTRAP__WINDOWS__MSI_AMD64__URL=https://pkg.osquery.io/windows/osquery-5.23.0.msi - CHECKPOST_OSQUERY_BOOTSTRAP__WINDOWS__MSI_AMD64__SHA256=5060c7cc21bc00258b5d7822a769cb619ff432c02ba89f6c1b6cbfa127d59b40 volumes: - "./testdata/server_cert.pem:/etc/checkpost/tls/server_cert.pem:ro,z" - "./testdata/server_key.pem:/etc/checkpost/tls/server_key.pem:ro,z" - "./data:/app/data:z" depends_on: postgres: condition: service_healthy networks: default: aliases: - checkpost # Uncomment this service after pointing checkpost.example.com to this host. # Also set CHECKPOST_APP__ROOT_URL=https://checkpost.example.com above. # # caddy: # image: caddy:2-alpine # restart: unless-stopped # command: caddy reverse-proxy --from https://checkpost.example.com --to checkpost:1323 # ports: # - "80:80" # - "443:443" # volumes: # - caddy-data:/data # - caddy-config:/config # depends_on: # - checkpost postgres: image: postgres:18-alpine restart: unless-stopped ports: - "5432:5432" environment: - POSTGRES_PASSWORD=checkpost - POSTGRES_USER=checkpost - POSTGRES_DB=checkpost healthcheck: test: ["CMD-SHELL", "pg_isready -U checkpost"] interval: 10s timeout: 5s retries: 6 volumes: - type: volume source: checkpost-db-data target: /var/lib/postgresql volumes: checkpost-db-data: # Uncomment when enabling the Caddy service. # caddy-data: # caddy-config: