feature/cierres (#25)
Varios cambios Co-authored-by: Juan Pablo Vial <jpvialb@incoviba.cl> Reviewed-on: #25
This commit is contained in:
@ -17,6 +17,7 @@ services:
|
||||
profiles:
|
||||
- app
|
||||
build: .
|
||||
image: php:incoviba
|
||||
container_name: incoviba_web
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
@ -24,6 +25,8 @@ services:
|
||||
- ./.key.env
|
||||
volumes:
|
||||
- ${APP_PATH:-.}/:/code
|
||||
- ${APP_PATH:-.}/fcgi.conf:/usr/local/etc/php-fpm.d/fcgi.conf
|
||||
- ${APP_PATH:-.}/fcgi.conf:/usr/local/etc/php-fpm.d/www-extra.conf
|
||||
- ./logs/php:/logs
|
||||
|
||||
db:
|
||||
@ -35,7 +38,6 @@ services:
|
||||
env_file: ${APP_PATH:-.}/.db.env
|
||||
volumes:
|
||||
- dbdata:/var/lib/mysql
|
||||
- ./incoviba.sql.gz:/docker-entrypoint-initdb.d/incoviba.sql.gz
|
||||
ports:
|
||||
- "33060:3306"
|
||||
networks:
|
||||
@ -69,34 +71,25 @@ services:
|
||||
- ./logs:/logs
|
||||
ports:
|
||||
- "8084:80"
|
||||
|
||||
cli:
|
||||
profiles:
|
||||
- cli
|
||||
build:
|
||||
context: .
|
||||
dockerfile: CLI.Dockerfile
|
||||
image: php:incoviba-cli
|
||||
container_name: incoviba_cli
|
||||
restart: unless-stopped
|
||||
entrypoint: [ "/code/entrypoint" ]
|
||||
env_file:
|
||||
- ${CLI_PATH:-.}/.env
|
||||
- ./.key.env
|
||||
volumes:
|
||||
- ${CLI_PATH:-.}:/code
|
||||
- ./logs/cli:/logs
|
||||
|
||||
testing:
|
||||
profiles:
|
||||
- testing
|
||||
container_name: incoviba_tests
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- ${APP_PATH:-.}/.env
|
||||
- ./.key.env
|
||||
volumes:
|
||||
- ${APP_PATH:-.}/:/code
|
||||
- ./logs/test:/logs
|
||||
command: [ '/code/bin/phpunit-watcher', 'watch' ]
|
||||
- ${CLI_PATH:-.}/crontab:/var/spool/cron/crontabs/root
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
|
||||
volumes:
|
||||
dbdata: {}
|
||||
|
Reference in New Issue
Block a user