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'.
|
# 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
|
x-app: &default-app
|
||||||
volumes:
|
volumes:
|
||||||
- "${DOCKER_WEB_VOLUME:-./web:/app/web}"
|
- "${DOCKER_WEB_VOLUME:-./web:/app/web}"
|
||||||
|
@ -20,19 +30,12 @@ x-app: &default-app
|
||||||
services:
|
services:
|
||||||
web:
|
web:
|
||||||
<<: *default-app
|
<<: *default-app
|
||||||
|
<<: *default-proxy
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
target: web
|
target: web
|
||||||
depends_on:
|
depends_on:
|
||||||
- php
|
- php
|
||||||
networks:
|
|
||||||
- default
|
|
||||||
- web
|
|
||||||
labels:
|
|
||||||
- "traefik.docker.network=traefik_proxy"
|
|
||||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}.rule=Host(
|
|
||||||
`${COMPOSE_PROJECT_NAME}.localhost`,
|
|
||||||
)"
|
|
||||||
profiles: [web]
|
profiles: [web]
|
||||||
|
|
||||||
php:
|
php:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue