Compare commits
2
Commits
e6b0da4f19
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb4884e4fd | ||
|
|
2cb5d5b7cf |
@@ -396,6 +396,26 @@ services:
|
|||||||
- COMPOSE_DIR=/opt/Docker-Deployments
|
- COMPOSE_DIR=/opt/Docker-Deployments
|
||||||
- DATA_DIR=/app/data
|
- DATA_DIR=/app/data
|
||||||
|
|
||||||
|
arr-dashboard:
|
||||||
|
image: khak1s/arr-dashboard:latest
|
||||||
|
container_name: arr-dashboard
|
||||||
|
environment:
|
||||||
|
- TZ=${TZ}
|
||||||
|
- PUID=${PUID}
|
||||||
|
- PGID=${PGID}
|
||||||
|
# Paste the output of 'openssl rand -hex 32' here
|
||||||
|
- SECRET_ENCRYPTION_KEY=a7f4b8d9e210c436587fa012b39c84e12d5e6f890123456789abcdef01234567
|
||||||
|
# Persistent Storage & Integration Access
|
||||||
|
volumes:
|
||||||
|
# Critical data path: API keys, SQLite DB, TRaSH profile caches
|
||||||
|
- /opt/Docker-Deployments/arrdashboard/config:/config
|
||||||
|
# Optional: Read-only access to host docker socket
|
||||||
|
# Allows arr-dashboard to read container health/states
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
gluetun_volume:
|
gluetun_volume:
|
||||||
qbittorrent_volume:
|
qbittorrent_volume:
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
SAFELINE_DIR=/opt/Docker-Deployments/Safeline
|
|
||||||
IMAGE_TAG=latest
|
|
||||||
MGT_PORT=5443
|
|
||||||
POSTGRES_PASSWORD=xop9BVh4CusNNwwrBurj
|
|
||||||
SUBNET_PREFIX=172.22.222
|
|
||||||
IMAGE_PREFIX=chaitin
|
|
||||||
ARCH_SUFFIX=
|
|
||||||
RELEASE=
|
|
||||||
REGION=-g
|
|
||||||
|
|
||||||
@@ -1,144 +0,0 @@
|
|||||||
networks:
|
|
||||||
safeline-ce:
|
|
||||||
name: safeline-ce
|
|
||||||
driver: bridge
|
|
||||||
ipam:
|
|
||||||
driver: default
|
|
||||||
config:
|
|
||||||
- gateway: ${SUBNET_PREFIX:?SUBNET_PREFIX required}.1
|
|
||||||
subnet: ${SUBNET_PREFIX}.0/24
|
|
||||||
driver_opts:
|
|
||||||
com.docker.network.bridge.name: safeline-ce
|
|
||||||
|
|
||||||
services:
|
|
||||||
postgres:
|
|
||||||
container_name: safeline-pg
|
|
||||||
restart: always
|
|
||||||
image: ${POSTGRES_IMAGE:-${IMAGE_PREFIX}/safeline-postgres${ARCH_SUFFIX}:15.18}
|
|
||||||
volumes:
|
|
||||||
- ${SAFELINE_DIR}/resources/postgres/data:/var/lib/postgresql/data
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
|
||||||
- POSTGRES_USER=safeline-ce
|
|
||||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:?postgres password required}
|
|
||||||
networks:
|
|
||||||
safeline-ce:
|
|
||||||
ipv4_address: ${SUBNET_PREFIX}.2
|
|
||||||
command: [postgres, -c, max_connections=600]
|
|
||||||
healthcheck:
|
|
||||||
test: pg_isready -U safeline-ce -d safeline-ce
|
|
||||||
mgt:
|
|
||||||
container_name: safeline-mgt
|
|
||||||
restart: always
|
|
||||||
image: ${IMAGE_PREFIX}/safeline-mgt${REGION}${ARCH_SUFFIX}:${IMAGE_TAG:?image tag required}
|
|
||||||
volumes:
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- ${SAFELINE_DIR}/resources/mgt:/app/data
|
|
||||||
- ${SAFELINE_DIR}/logs/nginx:/app/log/nginx:z
|
|
||||||
- ${SAFELINE_DIR}/resources/sock:/app/sock
|
|
||||||
- /var/run:/app/run
|
|
||||||
ports:
|
|
||||||
- ${MGT_PORT:-9443}:1443
|
|
||||||
healthcheck:
|
|
||||||
test: curl -k -f https://localhost:1443/api/open/health
|
|
||||||
environment:
|
|
||||||
- MGT_PG=postgres://safeline-ce:${POSTGRES_PASSWORD}@safeline-pg/safeline-ce?sslmode=disable
|
|
||||||
- MGT_PROXY=${MGT_PROXY}
|
|
||||||
depends_on:
|
|
||||||
- postgres
|
|
||||||
- fvm
|
|
||||||
logging:
|
|
||||||
driver: "json-file"
|
|
||||||
options:
|
|
||||||
max-size: "100m"
|
|
||||||
max-file: "5"
|
|
||||||
networks:
|
|
||||||
safeline-ce:
|
|
||||||
ipv4_address: ${SUBNET_PREFIX}.4
|
|
||||||
detect:
|
|
||||||
container_name: safeline-detector
|
|
||||||
restart: always
|
|
||||||
image: ${IMAGE_PREFIX}/safeline-detector${REGION}${ARCH_SUFFIX}:${IMAGE_TAG}
|
|
||||||
volumes:
|
|
||||||
- ${SAFELINE_DIR}/resources/detector:/resources/detector
|
|
||||||
- ${SAFELINE_DIR}/logs/detector:/logs/detector
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
environment:
|
|
||||||
- LOG_DIR=/logs/detector
|
|
||||||
networks:
|
|
||||||
safeline-ce:
|
|
||||||
ipv4_address: ${SUBNET_PREFIX}.5
|
|
||||||
tengine:
|
|
||||||
container_name: safeline-tengine
|
|
||||||
restart: always
|
|
||||||
image: ${IMAGE_PREFIX}/safeline-tengine${REGION}${ARCH_SUFFIX}:${IMAGE_TAG}
|
|
||||||
volumes:
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- /etc/resolv.conf:/etc/resolv.conf:ro
|
|
||||||
- ${SAFELINE_DIR}/resources/nginx:/etc/nginx
|
|
||||||
- ${SAFELINE_DIR}/resources/detector:/resources/detector
|
|
||||||
- ${SAFELINE_DIR}/resources/chaos:/resources/chaos
|
|
||||||
- ${SAFELINE_DIR}/logs/nginx:/var/log/nginx:z
|
|
||||||
- ${SAFELINE_DIR}/resources/cache:/usr/local/nginx/cache
|
|
||||||
- ${SAFELINE_DIR}/resources/sock:/app/sock
|
|
||||||
environment:
|
|
||||||
- TCD_MGT_API=https://${SUBNET_PREFIX}.4:1443/api/open/publish/server
|
|
||||||
- TCD_SNSERVER=${SUBNET_PREFIX}.5:8000
|
|
||||||
# deprecated
|
|
||||||
- SNSERVER_ADDR=${SUBNET_PREFIX}.5:8000
|
|
||||||
- CHAOS_ADDR=${SUBNET_PREFIX}.10
|
|
||||||
ulimits:
|
|
||||||
nofile: 131072
|
|
||||||
network_mode: host
|
|
||||||
luigi:
|
|
||||||
container_name: safeline-luigi
|
|
||||||
restart: always
|
|
||||||
image: ${IMAGE_PREFIX}/safeline-luigi${REGION}${ARCH_SUFFIX}:${IMAGE_TAG}
|
|
||||||
environment:
|
|
||||||
- MGT_IP=${SUBNET_PREFIX}.4
|
|
||||||
- LUIGI_PG=postgres://safeline-ce:${POSTGRES_PASSWORD}@safeline-pg/safeline-ce?sslmode=disable
|
|
||||||
volumes:
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- ${SAFELINE_DIR}/resources/luigi:/app/data
|
|
||||||
logging:
|
|
||||||
driver: "json-file"
|
|
||||||
options:
|
|
||||||
max-size: "100m"
|
|
||||||
max-file: "5"
|
|
||||||
depends_on:
|
|
||||||
- detect
|
|
||||||
- mgt
|
|
||||||
networks:
|
|
||||||
safeline-ce:
|
|
||||||
ipv4_address: ${SUBNET_PREFIX}.7
|
|
||||||
fvm:
|
|
||||||
container_name: safeline-fvm
|
|
||||||
restart: always
|
|
||||||
image: ${IMAGE_PREFIX}/safeline-fvm${REGION}${ARCH_SUFFIX}:${IMAGE_TAG}
|
|
||||||
volumes:
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
logging:
|
|
||||||
driver: "json-file"
|
|
||||||
options:
|
|
||||||
max-size: "100m"
|
|
||||||
max-file: "5"
|
|
||||||
networks:
|
|
||||||
safeline-ce:
|
|
||||||
ipv4_address: ${SUBNET_PREFIX}.8
|
|
||||||
chaos:
|
|
||||||
container_name: safeline-chaos
|
|
||||||
restart: always
|
|
||||||
image: ${IMAGE_PREFIX}/safeline-chaos${REGION}${ARCH_SUFFIX}:${IMAGE_TAG}
|
|
||||||
logging:
|
|
||||||
driver: "json-file"
|
|
||||||
options:
|
|
||||||
max-size: "100m"
|
|
||||||
max-file: "10"
|
|
||||||
environment:
|
|
||||||
- DB_ADDR=postgres://safeline-ce:${POSTGRES_PASSWORD}@safeline-pg/safeline-ce?sslmode=disable
|
|
||||||
volumes:
|
|
||||||
- ${SAFELINE_DIR}/resources/sock:/app/sock
|
|
||||||
- ${SAFELINE_DIR}/resources/chaos:/app/chaos
|
|
||||||
networks:
|
|
||||||
safeline-ce:
|
|
||||||
ipv4_address: ${SUBNET_PREFIX}.10
|
|
||||||
Reference in New Issue
Block a user