refactor: move Drupal into a subdirectory
This commit is contained in:
commit
dac6c27241
10 changed files with 10448 additions and 0 deletions
30
docker-compose.yaml
Normal file
30
docker-compose.yaml
Normal file
|
@ -0,0 +1,30 @@
|
|||
services:
|
||||
web:
|
||||
image: caddy
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile
|
||||
- .:/var/www/html
|
||||
ports:
|
||||
- "${DOCKER_WEB_PORT:-127.0.0.1:80}:80"
|
||||
environment:
|
||||
SERVER_NAME: "${SERVER_NAME:-:80}"
|
||||
|
||||
php-fpm:
|
||||
image: "ghcr.io/opdavies/docker-drupal-example-php-fpm:${DOCKER_TAG:-latest}"
|
||||
build:
|
||||
context: .
|
||||
volumes:
|
||||
- .:/var/www/html
|
||||
|
||||
mysql:
|
||||
image: mariadb:10
|
||||
volumes:
|
||||
- db-data:/var/lib/mysql
|
||||
environment:
|
||||
MYSQL_DATABASE: drupal
|
||||
MYSQL_RANDOM_ROOT_PASSWORD: 'true'
|
||||
MYSQL_PASSWORD: drupal
|
||||
MYSQL_USER: drupal
|
||||
|
||||
volumes:
|
||||
db-data: {}
|
Loading…
Add table
Add a link
Reference in a new issue