build: update configuration files

This commit is contained in:
Oliver Davies 2023-03-14 20:20:48 +00:00
parent 62bb4776d3
commit 1c8d5c87f9
10 changed files with 88 additions and 58 deletions

View file

@ -1,3 +1,5 @@
# Do not edit this file. It is automatically generated by 'build-configs'.
x-app: &default-app
volumes:
- "${DOCKER_WEB_VOLUME:-./web:/app/web}"
@ -32,12 +34,14 @@ services:
`${COMPOSE_PROJECT_NAME}.localhost`,
)"
profiles: [web]
php:
<<: *default-app
build:
context: .
target: build
volumes:
- .:/app
depends_on:
- database
profiles: [php]
@ -57,14 +61,10 @@ services:
- "traefik.enabled=false"
environment:
MYSQL_RANDOM_ROOT_PASSWORD: true
MYSQL_DATABASE: drupal
MYSQL_PASSWORD: drupal
MYSQL_USER: drupal
profiles: [database]
volumes:
db-data: {}
networks:
web:
name: traefik_proxy