02.01.26
This commit is contained in:
@@ -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
|
||||
@@ -174,3 +226,4 @@ volumes:
|
||||
external: true
|
||||
metabase-data:
|
||||
gitea-data:
|
||||
plane-db:
|
||||
|
||||
Reference in New Issue
Block a user