Update Dockhand and move agent to Hawser folder

This commit is contained in:
2026-02-24 19:13:35 +05:30
parent c614312981
commit 1c660712da
2 changed files with 1 additions and 1 deletions

44
dockhand/compose.yaml Normal file
View File

@@ -0,0 +1,44 @@
services:
dockhand_db:
container_name: dockhand_db
image: docker.io/library/postgres:18.1@sha256:1090bc3a8ccfb0b55f78a494d76f8d603434f7e4553543d6e807bc7bd6bbd17f
restart: unless-stopped
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
- PGDATA=/var/lib/postgresql/18/docker
volumes:
- ./db:/var/lib/postgresql
networks:
- backend
healthcheck:
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
dockhand:
container_name: dockhand
image: fnsys/dockhand:v1.0.18@sha256:81ee6728840ea99978d811d9dfa61e5445467e01502320fa7733bcf7e567d105
restart: unless-stopped
depends_on:
dockhand_db:
condition: service_healthy
environment:
- DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@dockhand_db:5432/${POSTGRES_DB}
volumes:
- ./data:/app/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 3000:3000
networks:
- frontend
- backend
networks:
frontend:
external: true
backend:
external: true