Update build configuration files
This commit is contained in:
parent
d6f8b29065
commit
d57e91e567
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -3,6 +3,7 @@
|
|||
.editorconfig
|
||||
.env
|
||||
.gitattributes
|
||||
.phpunit.result.cache
|
||||
vendor/
|
||||
web/.csslintrc
|
||||
web/.eslintignore
|
||||
|
@ -39,4 +40,3 @@ web/web.config
|
|||
.env
|
||||
docker-compose.override.yaml
|
||||
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ RUN apt-get update -yqq \
|
|||
|
||||
RUN docker-php-ext-configure gd --with-jpeg
|
||||
|
||||
RUN docker-php-ext-install gd pdo_mysql zip
|
||||
RUN docker-php-ext-install gd opcache pdo_mysql zip
|
||||
|
||||
COPY --chown=app:app phpunit.xml* ./
|
||||
|
||||
|
|
|
@ -5,10 +5,12 @@ x-proxy: &default-proxy
|
|||
- default
|
||||
- web
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=traefik_proxy"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}.rule=Host(
|
||||
`${COMPOSE_PROJECT_NAME}.localhost`,
|
||||
`${COMPOSE_PROJECT_NAME}.docker.localhost`,
|
||||
)"
|
||||
- "traefik.http.routers.${COMPOSE_PROJECT_NAME}.tls=true"
|
||||
|
||||
x-app: &default-app
|
||||
volumes:
|
||||
|
@ -24,7 +26,7 @@ x-app: &default-app
|
|||
cpus: "${DOCKER_MYSQL_CPUS:-0}"
|
||||
memory: "${DOCKER_MYSQL_MEMORY:-0}"
|
||||
labels:
|
||||
- "traefik.enabled=false"
|
||||
- "traefik.enable=false"
|
||||
tty: true
|
||||
|
||||
services:
|
||||
|
@ -63,7 +65,7 @@ services:
|
|||
env_file:
|
||||
- .env
|
||||
labels:
|
||||
- "traefik.enabled=false"
|
||||
- "traefik.enable=false"
|
||||
environment:
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: true
|
||||
profiles: [database]
|
||||
|
|
Loading…
Reference in a new issue