-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
33 lines (31 loc) · 801 Bytes
/
compose.yml
File metadata and controls
33 lines (31 loc) · 801 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
30
31
32
33
services:
drupal:
build:
context: .
dockerfile: Dockerfile
args:
VARIANT: "8.3-bookworm"
APACHE_DOCUMENT_ROOT: /workspace/drupalcms-codespaces-sandbox/web
image: drupalcms-codespaces-sandbox:latest
user: vscode
command: apache2-foreground
ports:
- "80:80"
volumes:
- .:/workspace/drupalcms-codespaces-sandbox
depends_on:
db:
condition: service_started
db:
image: mysql:9
command:
- --transaction_isolation=READ-COMMITTED
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-root}
MYSQL_DATABASE: ${MYSQL_DATABASE:-drupal}
MYSQL_USER: ${MYSQL_USER:-drupal}
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-drupal}
volumes:
db-data: