05.01.26
This commit is contained in:
@@ -107,6 +107,18 @@ services:
|
||||
expose:
|
||||
- "8000"
|
||||
|
||||
cron:
|
||||
image: tradon/tradon
|
||||
container_name: tradon-cron
|
||||
depends_on:
|
||||
- postgres
|
||||
environment:
|
||||
DB_HOSTNAME: postgres
|
||||
DB_PASSWORD: dsproject
|
||||
volumes:
|
||||
- /root/tradon/source/prod:/usr/local/lib/python3.11/dist-packages/trytond
|
||||
command: ["trytond-cron", "-d", "tradon"]
|
||||
|
||||
tryton-dev:
|
||||
image: tradon/tradon
|
||||
container_name: tradon-dev
|
||||
@@ -116,7 +128,7 @@ services:
|
||||
DB_HOSTNAME: postgres-dev
|
||||
DB_PASSWORD: dsproject
|
||||
volumes:
|
||||
- tradon-sao-dev:/var/lib/trytond
|
||||
- /root/tradon/source/sao:/var/lib/trytond
|
||||
- /root/tradon/source/dev:/usr/local/lib/python3.11/dist-packages/trytond
|
||||
- ./tryton/trytond-dev.conf:/etc/trytond.conf
|
||||
expose:
|
||||
@@ -171,46 +183,6 @@ 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
|
||||
@@ -226,4 +198,3 @@ volumes:
|
||||
external: true
|
||||
metabase-data:
|
||||
gitea-data:
|
||||
plane-db:
|
||||
|
||||
Reference in New Issue
Block a user