From e750a679d5878246801f92230ecb006c89286b25 Mon Sep 17 00:00:00 2001 From: Peter Wood Date: Tue, 27 May 2025 22:25:45 +0000 Subject: [PATCH] Add Docker Compose configurations for newt and opengist services --- newt/compose.yaml | 12 ++++++++++++ omni-tools/compose.yaml | 4 +++- opengist/compose.yaml | 30 ++++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 newt/compose.yaml create mode 100644 opengist/compose.yaml diff --git a/newt/compose.yaml b/newt/compose.yaml new file mode 100644 index 0000000..3fb25a2 --- /dev/null +++ b/newt/compose.yaml @@ -0,0 +1,12 @@ +services: + newt: + image: fosrl/newt + container_name: newt + restart: unless-stopped + environment: + - PANGOLIN_ENDPOINT=https://pangolin.acedanger.com + - NEWT_ID=${NEWT_ID} + - NEWT_SECRET=${NEWT_SECRET} + labels: + - diun.enable=true +networks: {} diff --git a/omni-tools/compose.yaml b/omni-tools/compose.yaml index c991fb7..fd0c887 100644 --- a/omni-tools/compose.yaml +++ b/omni-tools/compose.yaml @@ -4,4 +4,6 @@ services: container_name: omni-tools restart: unless-stopped ports: - - "9980:80" + - 9980:80 + labels: + - diun.enable=true diff --git a/opengist/compose.yaml b/opengist/compose.yaml new file mode 100644 index 0000000..2473b47 --- /dev/null +++ b/opengist/compose.yaml @@ -0,0 +1,30 @@ +services: + opengist: + container_name: opengist + image: ghcr.io/thomiceli/opengist:latest + depends_on: + - serviceName: postgres + restart: unless-stopped + environment: + OG_GITHUB_CLIENT_KEY: ${OG_GITHUB_CLIENT_KEY} + OG_GITHUB_SECRET: ${OG_GITHUB_SECRET} + OG_EXTERNAL_URL: https://gist.ptrwd.com + OG_DB_URI: "postgres://${PG_USER}:${PG_PASSWORD}@postgres:5432/${PG_DATABASE}" + ports: + - 6157:6157 + - 2322:2222 + volumes: + - $HOME/.opengist:/opengist + labels: + - diun.enable=true + postgres: + image: postgres:16.4 + restart: unless-stopped + volumes: + - ./opengist-database:/var/lib/postgresql/data + environment: + POSTGRES_USER: ${PG_USER} + POSTGRES_PASSWORD: ${PG_PASSWORD} + POSTGRES_DB: ${PG_DATABASE} + labels: + - diun.enable=true \ No newline at end of file