diff --git a/assets/project/.localbeach.docker-compose.yaml b/assets/project/.localbeach.docker-compose.yaml index 6f3b59c..82c981e 100644 --- a/assets/project/.localbeach.docker-compose.yaml +++ b/assets/project/.localbeach.docker-compose.yaml @@ -4,11 +4,6 @@ networks: local_beach: external: true -volumes: - application: - name: ${BEACH_PROJECT_NAME:?Please specify a Beach project name as BEACH_PROJECT_NAME}-application - driver: local - services: webserver: image: ${BEACH_WEBSERVER_IMAGE:-flownative/nginx}:${BEACH_WEBSERVER_IMAGE_VERSION:-4} @@ -20,9 +15,7 @@ services: - "8081" - "8082" volumes: - - application:/application - - ./Data/Persistent:/application/Data/Persistent:delegated - - ./Web:/application/Web:delegated + - ./:/application environment: - VIRTUAL_HOST=${BEACH_VIRTUAL_HOSTS:?Please specify Beach virtual hosts as BEACH_VIRTUAL_HOSTS} - VIRTUAL_PORT=8080 @@ -34,15 +27,6 @@ services: - FLOW_HTTP_TRUSTED_PROXIES=* - NGINX_CACHE_ENABLE=false - devkit: - image: flownative/localbeach-devkit:0 - container_name: ${BEACH_PROJECT_NAME:?Please specify a Beach project name as BEACH_PROJECT_NAME}_devkit - networks: - - local_beach - volumes: - - application:/application - - .:/application-on-host:delegated - php: image: ${BEACH_PHP_IMAGE:-flownative/beach-php}:${BEACH_PHP_IMAGE_VERSION:-8.2} container_name: ${BEACH_PROJECT_NAME:?Please specify a Beach project name as BEACH_PROJECT_NAME}_php @@ -52,17 +36,12 @@ services: depends_on: - webserver - redis - - devkit security_opt: - no-new-privileges volumes: - - application:/application - - ./Data/Persistent:/application/Data/Persistent:delegated - - ./Data/Logs:/application/Data/Logs:delegated - - ./Data/DoctrineMigrations:/application/Data/DoctrineMigrations - - ./Web:/application/Web:delegated + - ./:/application environment: - - BEACH_WAIT_FOR_SYNC=true + - BEACH_WAIT_FOR_SYNC=false - BEACH_INSTANCE_NAME=${BEACH_PROJECT_NAME} - BEACH_FLOW_BASE_CONTEXT=${BEACH_FLOW_BASE_CONTEXT:-Development} - BEACH_FLOW_SUB_CONTEXT=${BEACH_FLOW_SUB_CONTEXT:-Instance}