From b6d78c54cb87cd6548fafd5a3f5ffddb7554765d Mon Sep 17 00:00:00 2001 From: sinergia Date: Thu, 20 Jun 2024 12:31:16 -0500 Subject: [PATCH] Fix: Delete docker-compose --- docker-compose.yml | 85 ---------------------------------------------- 1 file changed, 85 deletions(-) delete mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 59e263d..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,85 +0,0 @@ -version: '3' -services: - db: - image: postgres - hostname: - ${DB_HOSTNAME} - volumes: - - postgres:/var/lib/postgresql/data - environment: - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} - POSTGRES_DB: ${POSTGRES_DB} - tryton: - build: - context: ./ - dockerfile: Dockerfile_Deploy - args: - TRYTOND_VERSION: ${TRYTOND_VERSION} - PYTHON_VERSION: ${PYTHON_VERSION} - Provider: ${Provider} - URL_MULTI_MIGRATE: ${URL_MULTI_MIGRATE} - GITEA_DOMAIN: ${GITEA_DOMAIN} - GITEA_USER: ${GITEA_USER} - GITEA_PASSWORD: ${GITEA_PASSWORD} - GITEA_ACCESS_TOKEN: ${GITEA_ACCESS_TOKEN} - DIR_MODULES: ${DIR_MODULES} - WORKER: ${WORKER} - TRYTONPASSFILE: ${TRYTONPASSFILE} - SMTP: ${SMTP} - SMTP_TYPE: ${SMTP_TYPE} - SMTP_USER: ${SMTP_USER} - SMTP_PASSWORD: ${SMTP_PASSWORD} - SMTP_DOMAIN: ${SMTP_DOMAIN} - SMTP_PORT: ${SMTP_PORT} - SMTP_FROM: ${SMTP_FROM} - SMTP_EMAIL: ${SMTP_EMAIL} - image: tryton/${POSTGRES_DB}:${TRYTOND_VERSION} - healthcheck: - test: curl --fail localhost:8000 || exit 1 - interval: 30s - retries: 5 - start_period: 30s - timeout: 20s - ports: - - "${TRYTON_PORT:-8000}:8000" - volumes: - - modules:${DIR_MODULES} - - var:/var - - attachment:/mnt/attachment - depends_on: - - db - env_file: - - .env - nginx: - image: nginx:1.23.3 - restart: unless-stopped - volumes: - - ./nginx.conf:/etc/nginx/conf.d/nginx.conf.template - ports: - - "${NGINX_PORT:-10000}:${NGINX_PORT:-10000}" - env_file: - - .env - depends_on: - - tryton - command: /bin/bash -c "envsubst < /etc/nginx/conf.d/nginx.conf.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'" - tryton_worker: - image: tryton/${POSTGRES_DB}:${TRYTOND_VERSION} - depends_on: - tryton: - condition: service_healthy - entrypoint: [ "bash", "-c", "/entrypoint.sh trytond-worker -c /etc/trytond.conf -d ${POSTGRES_DB} --logconf /etc/trytond_worker_logging.conf"] - env_file: - - .env - tryton_cron: - image: tryton/${POSTGRES_DB}:${TRYTOND_VERSION} - depends_on: - tryton: - condition: service_healthy - entrypoint: [ "bash", "-c", "/entrypoint.sh trytond-cron -c /etc/trytond.conf -d ${POSTGRES_DB} --logconf /etc/trytond_cron_logging.conf"] - env_file: - - .env -volumes: - modules: - var: - postgres: - attachment: