From 12ff5ea6378282485f41c553a9350709741455bd Mon Sep 17 00:00:00 2001 From: laurentbarontini Date: Fri, 2 Jan 2026 10:55:56 +0100 Subject: [PATCH] 02.01.26 --- docker-compose.yml | 55 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 87d9de0..e906193 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,4 +1,13 @@ services: + hugo: + image: nginx:alpine + container_name: hugo-site + restart: unless-stopped + volumes: + - /var/www/os-site:/usr/share/nginx/html:ro # ton build Hugo + expose: + - "80" + vaultwarden: image: vaultwarden/server:latest container_name: vaultwarden @@ -142,12 +151,15 @@ services: - ./nginx/letsencrypt:/var/www/letsencrypt - ./nginx/certs:/etc/letsencrypt - ./tryton_test_react/dist:/var/www/dashboard + - /var/www/os-site:/var/www/os-site ports: - "80:80" + - "81:81" - "443:443" - "8008:8008" - "8444:8444" - "8445:8445" + - "8446:8446" certbot: image: certbot/certbot @@ -159,6 +171,46 @@ services: entrypoint: > sh -c "while ! nc -z tradon-nginx 80; do sleep 1; done; certbot certonly --webroot -w /var/www/letsencrypt --email admin@tondomaine.com --agree-tos --no-eff-email -d srv413259.hstgr.cloud -d srv413259.hstgr.cloud" + plane-db: + image: postgres:15 + container_name: plane-postgres + restart: unless-stopped + environment: + POSTGRES_DB: plane + POSTGRES_USER: plane + POSTGRES_PASSWORD: plane_secret + volumes: + - plane-db:/var/lib/postgresql/data + + plane-redis: + image: redis:7 + container_name: plane-redis + restart: unless-stopped + + plane-backend: + image: makeplane/plane-backend:latest + container_name: plane-backend + depends_on: + - plane-db + - plane-redis + environment: + DATABASE_URL: postgres://plane:plane_secret@plane-db:5432/plane + REDIS_URL: redis://plane-redis:6379 + SECRET_KEY: super-secret-key + CORS_ALLOWED_ORIGINS: https://srv413259.hstgr.cloud:8446 + expose: + - "8000" + + plane-frontend: + image: makeplane/plane-frontend:latest + container_name: plane-frontend + depends_on: + - plane-backend + environment: + NEXT_PUBLIC_API_BASE_URL: https://srv413259.hstgr.cloud:8446 + expose: + - "3000" + volumes: tradon-database: external: true @@ -173,4 +225,5 @@ volumes: tradon-modules-dev: external: true metabase-data: - gitea-data: \ No newline at end of file + gitea-data: + plane-db: