Commit bcaae787 authored by Jacob Priddy's avatar Jacob Priddy 👌

volume in laravel env

parent 0f54c78b
Pipeline #13215 failed with stages
in 4 minutes and 9 seconds
......@@ -4,11 +4,6 @@ networks:
doorcode:
attachable: true
configs:
laravel_env:
name: laravel_env-${CI_JOB_ID}
file: $PROJ_DIR/.env
secrets:
webserver_cert:
name: webserver_cert-${CI_JOB_ID}
......@@ -115,15 +110,13 @@ services:
image: $DOORCODE_IMAGE_NAME
environment:
TZ: America/Los_Angeles
configs:
- source: laravel_env
target: /var/www/backend/.env
healthcheck:
test: [ "CMD", "/healthcheck.sh" ]
interval: 30s
timeout: 3s
retries: 3
volumes:
- $PROJ_DIR/.env:/var/www/backend/.env:ro
- $PROJ_DIR/controller-bins:/var/www/backend/storage/app/controller/binaries:ro
- $PROJ_DIR/simple-saml/cert:/var/simplesamlphp/cert:ro
- $PROJ_DIR/simple-saml/config:/var/simplesamlphp/config:ro
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment