Skip to content

Commit

Permalink
Merge pull request #70 from queoGmbH/task/remove-devkit
Browse files Browse the repository at this point in the history
Remove devkit from docker compose
  • Loading branch information
kdambekalns authored Oct 6, 2023
2 parents 35c23c4 + bec3cca commit 567e509
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions assets/project/.localbeach.docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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}
Expand Down

0 comments on commit 567e509

Please sign in to comment.