diff --git a/Financial_Containers/invoiceshelf/compose.yaml b/Financial_Containers/invoiceshelf/compose.yaml index fc38b43..f23274a 100644 --- a/Financial_Containers/invoiceshelf/compose.yaml +++ b/Financial_Containers/invoiceshelf/compose.yaml @@ -7,8 +7,8 @@ services: invoiceshelf_db: container_name: invoiceshelf_db image: postgres:15 - ports: - - 5432:5432 + #ports: + # - 5432:5432 volumes: - /srv/docker/invoiceshelf/postgres:/var/lib/postgresql/data env_file: @@ -25,11 +25,11 @@ services: invoiceshelf: image: invoiceshelf/invoiceshelf:latest container_name: invoiceshelf - #ports: - # - 8092:80 volumes: - /srv/docker/invoiceshelf/invoiceshelf_pgsql/data:/data - /srv/docker/invoiceshelf/invoiceshelf_pgsql/conf:/conf + - /srv/docker/invoiceshelf/invoiceshelf_pgsql/storage:/var/www/html/storage + - /srv/docker/invoiceshelf/invoiceshelf_pgsql/modules:/var/www/html/Modules env_file: - .env environment: @@ -37,7 +37,7 @@ services: - TIMEZONE=America/Chicago - APP_NAME=InvoiceShelf - APP_ENV=production - - APP_DEBUG=true + - APP_DEBUG=false - APP_URL=https://${SERVICE_NAME}.${DOMAIN_NAME} - DB_CONNECTION=pgsql - DB_HOST=invoiceshelf_db @@ -45,6 +45,7 @@ services: - DB_DATABASE=invoiceshelf - DB_USERNAME=invoiceshelf - DB_PASSWORD=${DB_PASSWORD} + - DB_PASSWORD_FILE= - DOMAIN_NAME=${DOMAIN_NAME} - CACHE_STORE=file - SESSION_DRIVER=file @@ -55,13 +56,17 @@ services: - SANCTUM_STATEFUL_DOMAINS=${SERVICE_NAME}.${DOMAIN_NAME} - STARTUP_DELAY=10 - TRUSTED_PROXIES=* - #- MAIL_DRIVER=smtp - #- MAIL_HOST=smtp.mailtrap.io - #- MAIL_PORT=2525 - #- MAIL_USERNAME=null - #- MAIL_PASSWORD=null + - AUTORUN_ENABLED=true + - AUTORUN_LARAVEL_MIGRATION=false + - AUTORUN_LARAVEL_OPTIMIZE=false + - PHP_OPCACHE_ENABLE=1 + - MAIL_DRIVER=smtp + - MAIL_HOST=smtp.mailgun.org + - MAIL_PORT=587 + - MAIL_USERNAME=${MAIL_USERNAME} + - MAIL_PASSWORD=${MAIL_PASSWORD} #- MAIL_PASSWORD_FILE= - #- MAIL_ENCRYPTION=null + - MAIL_ENCRYPTION=startwithtls restart: unless-stopped depends_on: - invoiceshelf_db