Move all files to old/drupal/
This commit is contained in:
parent
8203e983d5
commit
7d76bf2968
468 changed files with 0 additions and 0 deletions
47
old/drupal/docker-compose.yaml
Normal file
47
old/drupal/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
services:
|
||||
nginx:
|
||||
build:
|
||||
context: .
|
||||
target: nginx
|
||||
volumes:
|
||||
- assets:/app/web/themes/custom/opdavies/build
|
||||
- ./:/app
|
||||
depends_on:
|
||||
php:
|
||||
condition: service_started
|
||||
ports:
|
||||
- "${DOCKER_WEB_PORT:-127.0.0.1:80}:80"
|
||||
restart: "${DOCKER_RESTART_POLICY:-unless-stopped}"
|
||||
stop_grace_period: 3s
|
||||
|
||||
php:
|
||||
build:
|
||||
context: .
|
||||
target: dev
|
||||
image: ghcr.io/opdavies/oliverdavies-uk-php:7.4-alpine
|
||||
volumes:
|
||||
- ./:/app
|
||||
env_file:
|
||||
- .docker.env
|
||||
depends_on:
|
||||
mysql:
|
||||
condition: service_healthy
|
||||
restart: "${DOCKER_RESTART_POLICY:-unless-stopped}"
|
||||
stop_grace_period: 3s
|
||||
|
||||
mysql:
|
||||
image: mariadb:10
|
||||
volumes:
|
||||
- "${DOCKER_MYSQL_VOLUME:-./db-data:/var/lib/mysql}"
|
||||
- ./tools/assets/development:/docker-entrypoint-initdb.d
|
||||
env_file:
|
||||
- .env
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "bash", "-c", "echo > /dev/tcp/localhost/3306"]
|
||||
interval: 1s
|
||||
restart: "${DOCKER_RESTART_POLICY:-unless-stopped}"
|
||||
stop_grace_period: 3s
|
||||
|
||||
volumes:
|
||||
assets:
|
||||
mysql_data:
|
||||
Loading…
Add table
Add a link
Reference in a new issue