-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
29 lines (28 loc) · 752 Bytes
/
docker-compose.yml
File metadata and controls
29 lines (28 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
services:
main:
image: drupal:drall
container_name: drall-main
build:
context: .
dockerfile: .docker/main/Dockerfile
depends_on:
- database
ports:
- "8080:80"
volumes:
- .:/opt/drall
- .docker/main/drupal/composer.json:/opt/drupal/composer.json
- ./Makefile:/opt/no-drupal/Makefile
- ./Makefile:/opt/empty-drupal/Makefile
- ./Makefile:/opt/drupal/Makefile
environment:
- DRALL_ENVIRONMENT=development
database:
image: mariadb:10
container_name: drall-db
environment:
MARIADB_USER: drupal
MARIADB_PASSWORD: drupal
MARIADB_ROOT_PASSWORD: drupal
volumes:
- .docker/database/init.sql:/docker-entrypoint-initdb.d/1-init.sql