build: update configuration files
This commit is contained in:
parent
cc0f4a89d9
commit
8dd7fb6ecc
1 changed files with 11 additions and 8 deletions
|
@ -1,5 +1,15 @@
|
|||
# Do not edit this file. It is automatically generated by 'build-configs'.
|
||||
|
||||
x-proxy: &default-proxy
|
||||
networks:
|
||||
- default
|
||||
- web
|
||||
labels:
|
||||
- "traefik.docker.network=traefik_proxy"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}.rule=Host(
|
||||
`${COMPOSE_PROJECT_NAME}.localhost`,
|
||||
)"
|
||||
|
||||
x-app: &default-app
|
||||
volumes:
|
||||
- "${DOCKER_WEB_VOLUME:-./web:/app/web}"
|
||||
|
@ -20,19 +30,12 @@ x-app: &default-app
|
|||
services:
|
||||
web:
|
||||
<<: *default-app
|
||||
<<: *default-proxy
|
||||
build:
|
||||
context: .
|
||||
target: web
|
||||
depends_on:
|
||||
- php
|
||||
networks:
|
||||
- default
|
||||
- web
|
||||
labels:
|
||||
- "traefik.docker.network=traefik_proxy"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}.rule=Host(
|
||||
`${COMPOSE_PROJECT_NAME}.localhost`,
|
||||
)"
|
||||
profiles: [web]
|
||||
|
||||
php:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue