This is an automated email from the ASF dual-hosted git repository.

arm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new bc62f7c  Add docker-compose for local use, with hot reload and local 
state directory
bc62f7c is described below

commit bc62f7c58c3bfb5d6aa155608e2861fe44956bff
Author: Alastair McFarlane <[email protected]>
AuthorDate: Wed Dec 10 14:29:56 2025 +0000

    Add docker-compose for local use, with hot reload and local state directory
---
 docker-compose.yml | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..82c8f76
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,30 @@
+services:
+  atr:
+    build:
+      context: .
+      dockerfile: Dockerfile.alpine
+    environment:
+      - ALLOW_TESTS=1
+      - APP_HOST=atr:8080
+      - BIND=0.0.0.0:8080
+      - SECRET_KEY=insecure-test-key
+      - SSH_HOST=0.0.0.0
+    networks:
+      - atr-network
+    volumes:
+      - ./state:/opt/atr/state
+      - ./atr:/opt/atr/atr
+    ports:
+      - 8080:8080
+    command:
+      - ./start-dev.sh
+    healthcheck:
+      test: ["CMD", "curl", "-k", "-f", "https://localhost:8080/";]
+      interval: 2s
+      timeout: 1s
+      retries: 30
+      start_period: 10s
+
+networks:
+  atr-network:
+    driver: bridge


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to