FIX: cron ENV vars

This commit is contained in:
Juan Pablo Vial
2024-02-10 10:37:45 -03:00
parent 3cd699d2e2
commit 251dbbe0f0
4 changed files with 29 additions and 36 deletions

View File

@ -1,15 +1,10 @@
version: '3'
x-restart: &restart
restart: unless-stopped
services:
proxy:
profiles:
- app
image: nginx:alpine
container_name: incoviba_proxy
<<: *restart
restart: unless-stopped
ports:
- "${APP_PORT}:80"
volumes:
@ -22,12 +17,10 @@ services:
- app
build: .
container_name: incoviba_web
<<: *restart
restart: unless-stopped
env_file:
- ${APP_PATH:-.}/.env
# - ${APP_PATH:-.}/.db.env
- ./.key.env
#- ${APP_PATH:-.}/.remote.env
volumes:
- ${APP_PATH:-.}/:/code
- ./logs/php:/logs
@ -37,7 +30,7 @@ services:
- db
image: mariadb:latest
container_name: incoviba_db
<<: *restart
restart: unless-stopped
env_file: ${APP_PATH:-.}/.db.env
volumes:
- dbdata:/var/lib/mysql
@ -53,22 +46,13 @@ services:
- cache
image: redis
container_name: incoviba_redis
<<: *restart
restart: unless-stopped
env_file: ${APP_PATH:-.}/.redis.env
volumes:
- incoviba_redis:/data
ports:
- "63790:6379"
python:
profiles:
- python
build:
context: .
dockerfile: Python.Dockerfile
container_name: incoviba_python
<<: *restart
logview:
profiles:
- log
@ -81,7 +65,7 @@ services:
WEB_URL: 'http://provm.cl:8084'
WEB_PORT: '8084'
volumes:
- "./logs:/logs"
- ./logs:/logs
ports:
- "8084:80"
cli:
@ -91,7 +75,7 @@ services:
context: .
dockerfile: CLI.Dockerfile
container_name: incoviba_cli
<<: *restart
restart: unless-stopped
env_file:
- ${CLI_PATH:-.}/.env
- ./.key.env