mirror of
https://github.com/acedanger/docker.git
synced 2025-12-05 21:40:12 -08:00
Add Docker Compose configurations for newt and opengist services
This commit is contained in:
12
newt/compose.yaml
Normal file
12
newt/compose.yaml
Normal file
@@ -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: {}
|
||||
@@ -4,4 +4,6 @@ services:
|
||||
container_name: omni-tools
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "9980:80"
|
||||
- 9980:80
|
||||
labels:
|
||||
- diun.enable=true
|
||||
|
||||
30
opengist/compose.yaml
Normal file
30
opengist/compose.yaml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user