Initial commit: all TrueNAS docker compose stacks
This commit is contained in:
62
dev/docker-compose.yaml
Normal file
62
dev/docker-compose.yaml
Normal file
@@ -0,0 +1,62 @@
|
||||
networks:
|
||||
dev-net:
|
||||
driver: bridge
|
||||
ix-databases_shared-databases:
|
||||
external: true
|
||||
pangolin:
|
||||
external: true
|
||||
|
||||
services:
|
||||
|
||||
gitea:
|
||||
container_name: gitea
|
||||
image: gitea/gitea:1.25.3
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- dev-net
|
||||
- ix-databases_shared-databases
|
||||
- pangolin
|
||||
ports:
|
||||
- "3002:3000"
|
||||
- "2222:22"
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
USER_UID: ${PUID}
|
||||
USER_GID: ${PGID}
|
||||
GITEA__server__ROOT_URL: ${GITEA_ROOT_URL}
|
||||
GITEA__server__HTTP_PORT: 3000
|
||||
GITEA__database__DB_TYPE: postgres
|
||||
GITEA__database__HOST: shared-postgres:5432
|
||||
GITEA__database__NAME: ${GITEA_DB_NAME}
|
||||
GITEA__database__USER: ${GITEA_DB_USER}
|
||||
GITEA__database__PASSWD: ${GITEA_DB_PASS}
|
||||
volumes:
|
||||
- /mnt/docker-ssd/docker/appdata/gitea:/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:3000/ >/dev/null 2>&1 || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
rackpeek:
|
||||
container_name: ix-rackpeek-rackpeek-1
|
||||
image: aptacode/rackpeek:latest
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- dev-net
|
||||
- pangolin
|
||||
ports:
|
||||
- "8283:8080"
|
||||
environment:
|
||||
TZ: ${TZ}
|
||||
RPK_YAML_DIR: /app/config
|
||||
volumes:
|
||||
- /mnt/tank/docker/appdata/app/rackpeek/config:/app/config
|
||||
- /mnt/tank/docker/appdata/app/rackpeek/dpkeys:/home/app/.aspnet/DataProtection-Keys
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/ >/dev/null 2>&1 || exit 1"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
Reference in New Issue
Block a user