diff --git a/docker-compose-edge.yml b/docker-compose-edge.yml new file mode 100644 index 0000000..207ef23 --- /dev/null +++ b/docker-compose-edge.yml @@ -0,0 +1,17 @@ +services: + hawser: + container_name: hawser + image: ghcr.io/finsys/hawser:latest + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - stacks:/data/stacks + - /path/to/dockhand-ca.crt:/certs/ca.crt:ro # Optional: with Self-Signed Certificate + ports: + - 2376:2376 + restart: always + environment: + - DOCKHAND_SERVER_URL=wss://your-dockhand.example.com/api/hawser/connect + - TOKEN=your-agent-token + - CA_CERT=/certs/ca.crt # Optional: with Self-Signed Certificate +volumes: + stacks: diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..5bbb49d --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,17 @@ +services: + hawser: + container_name: hawser + image: ghcr.io/finsys/hawser:latest + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - stacks:/data/stacks + - /path/to/certs:/certs:ro # Optional: with TLS + ports: + - 2376:2376 + restart: always + environment: + - TOKEN=your-secret-token # Optional: with Token Authentication + - TLS_CERT=/certs/server.crt # Optional: with TLS + - TLS_KEY=/certs/server.key # Optional: with TLS +volumes: + stacks: