full refactor

edu_master
glance
n8n
nextcloud
portainer
traefik

gitignore comments
This commit is contained in:
2025-11-15 13:30:51 +01:00
parent b51a1c7ee6
commit fd3d2affe7
7 changed files with 39 additions and 27 deletions
+20 -8
View File
@@ -1,15 +1,27 @@
# FreeFileSync
sync.ffs_lock sync.ffs_lock
.sync.ffs_db .sync.ffs_db
gitea/volumes/*
volumes/* # Environment
traefik/certs/*
.env .env
.env.anna .env.anna
.env.forust .env.forust
traefik/letsencrypt/acme.json
dockmon/data/* # Volumes and data directories
portainer_data/* gitea/gitea-db/*
gitea/gitea-data/*
n8n/n8n-data/*
n8n/n8n-node-data/*
adguardhome/data/* adguardhome/data/*
.python-version dockmon/data/*
gitea/gitea-data/ portainer/portainer_data/*
# Traefik files
traefik/letsencrypt/acme.json
traefik/logs/* traefik/logs/*
traefik/certs/*
# Python
.python-version
.venv/
venv/
@@ -1,6 +1,6 @@
x-app: &app x-app: &app
build: build:
context: ./edu_master/backend/ context: ./backend/
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
- VERSION=${VERSION:-v0.10.2} - VERSION=${VERSION:-v0.10.2}
@@ -100,8 +100,8 @@ services:
nginx: nginx:
image: nginx:alpine image: nginx:alpine
volumes: volumes:
- ./edu_master/nginx/nginx.conf:/etc/nginx/conf.d/default.conf.template - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf.template
- ./edu_master/nginx/entrypoint.sh:/entrypoint.sh - ./nginx/entrypoint.sh:/entrypoint.sh
environment: environment:
- MINIO_PRIVATE_BUCKET=${MINIO_PRIVATE_BUCKET:-private} - MINIO_PRIVATE_BUCKET=${MINIO_PRIVATE_BUCKET:-private}
- MINIO_PUBLIC_BUCKET=${MINIO_PUBLIC_BUCKET:-public} - MINIO_PUBLIC_BUCKET=${MINIO_PUBLIC_BUCKET:-public}
@@ -142,7 +142,7 @@ services:
image: minio/minio:RELEASE.2024-11-07T00-52-20Z image: minio/minio:RELEASE.2024-11-07T00-52-20Z
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./volumes/edu_master/volumes/minio-data:/data - ./volumes/minio-data:/data
command: server /data --console-address ":9001" command: server /data --console-address ":9001"
environment: environment:
- MINIO_BROWSER_REDIRECT_URL=${MINIO_BROWSER_REDIRECT_URL:-http://localhost/minio-console/} - MINIO_BROWSER_REDIRECT_URL=${MINIO_BROWSER_REDIRECT_URL:-http://localhost/minio-console/}
@@ -173,7 +173,7 @@ services:
- POSTGRES_USER=${POSTGRES_USER:-postgres} - POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_DB=${POSTGRES_DB:-postgres} - POSTGRES_DB=${POSTGRES_DB:-postgres}
volumes: volumes:
- ./volumes/edu_master/volumes/postgres-db:/var/lib/postgresql/data - ./volumes/postgres-db:/var/lib/postgresql/data
healthcheck: healthcheck:
test: [ "CMD-SHELL", "pg_isready" ] test: [ "CMD-SHELL", "pg_isready" ]
interval: 10s interval: 10s
@@ -195,7 +195,7 @@ services:
image: ollama/ollama:latest image: ollama/ollama:latest
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./volumes/edu_master/volumes/ollama-models:/root/.ollama - ./volumes/ollama-models:/root/.ollama
environment: environment:
- OLLAMA_DISABLE_TELEMETRY=true - OLLAMA_DISABLE_TELEMETRY=true
- OLLAMA_KEEP_ALIVE=5m - OLLAMA_KEEP_ALIVE=5m
@@ -235,7 +235,7 @@ services:
phpsessid-bot: phpsessid-bot:
build: build:
context: edu_master/phpsessid_bot/ context: ./phpsessid_bot/
dockerfile: Dockerfile dockerfile: Dockerfile
restart: unless-stopped restart: unless-stopped
environment: environment:
@@ -4,8 +4,8 @@ services:
image: glanceapp/glance image: glanceapp/glance
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./glance/config:/app/config - ./config:/app/config:ro
- ./glance/assets:/app/assets - ./assets:/app/assets:ro
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
env_file: .env env_file: .env
+3 -3
View File
@@ -13,8 +13,8 @@ services:
- N8N_SECURE_COOKIE=false - N8N_SECURE_COOKIE=false
- N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true - N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true
volumes: volumes:
- ./volumes/n8n_data:/home/node/.n8n - ./n8n-node-data:/home/node/.n8n
- ./volumes/n8n_local-files:/files - ./n8n-files:/files
extra_hosts: extra_hosts:
- "enterprise.n8n.io:104.26.13.187" - "enterprise.n8n.io:104.26.13.187"
- "enterprise.n8n.io:104.26.12.187" - "enterprise.n8n.io:104.26.12.187"
@@ -30,7 +30,7 @@ services:
- "traefik.docker.network=traefik-proxy" - "traefik.docker.network=traefik-proxy"
- glance.name=n8n - glance.name=n8n
- glance.icon=si:n8n - glance.icon=si:n8n
- glance.url=https://n8n.${HOST}/ - glance.url=https://n8n.forust.xyz/
- glance.description=n8n is a workflow automation tool that enables you to connect various apps and services to automate tasks and processes. - glance.description=n8n is a workflow automation tool that enables you to connect various apps and services to automate tasks and processes.
networks: networks:
n8n: n8n:
@@ -20,7 +20,7 @@ services:
- "traefik.docker.network=traefik-proxy" - "traefik.docker.network=traefik-proxy"
- glance.name=Nextcloud - glance.name=Nextcloud
# - glance.icon=si:nextcloud # - glance.icon=si:nextcloud
- glance.url=https://nextcloud.${HOST}/ - glance.url=https://nextcloud.forust.xyz/
- glance.description=Nextcloud is a suite of client-server software for creating and using file hosting services. - glance.description=Nextcloud is a suite of client-server software for creating and using file hosting services.
@@ -5,7 +5,7 @@ services:
restart: always restart: always
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ./volumes/portainer_data:/data - ./portainer_data:/data
ports: ports:
- 9443:9443 - 9443:9443
# - 8000:8000 # Remove if you do not intend to use Edge Agents # - 8000:8000 # Remove if you do not intend to use Edge Agents
@@ -16,7 +16,7 @@ services:
- "traefik.docker.network=traefik-proxy" - "traefik.docker.network=traefik-proxy"
- glance.name=Portainer - glance.name=Portainer
# - glance.icon=si:portainer # - glance.icon=si:portainer
- glance.url=https://portainer.${HOST}/ - glance.url=https://portainer.forust.xyz/
- glance.description=Portainer is a lightweight management UI which allows you to easily manage your Docker environments. - glance.description=Portainer is a lightweight management UI which allows you to easily manage your Docker environments.
volumes: volumes:
@@ -44,7 +44,7 @@ services:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.docker.network=traefik-proxy" - "traefik.docker.network=traefik-proxy"
- glance.name=Traefik - glance.name=Traefik
- glance.url=https://traefik.${HOST}/ - glance.url=https://traefik.forust.xyz/
- glance.description=Traefik is a modern reverse proxy and load balancer - glance.description=Traefik is a modern reverse proxy and load balancer
ports: ports:
@@ -53,10 +53,10 @@ services:
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
- ./dynamic:/etc/traefik/dynamic:ro
- ./certs:/certs:ro
- ./logs:/var/log/traefik
# - ./traefik/letsencrypt:/letsencrypt # - ./traefik/letsencrypt:/letsencrypt
- ./traefik/dynamic:/etc/traefik/dynamic:ro
- ./traefik/logs:/var/log/traefik
- ./traefik/certs:/certs:ro
networks: networks:
- traefik-proxy - traefik-proxy