-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
38 lines (35 loc) · 993 Bytes
/
docker-compose.yml
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
34
35
36
37
38
services:
app:
build:
context: ./
dockerfile: ./build/php/Dockerfile
target: development
user: "${USER_ID}:${USER_ID}"
ports:
- "${HTTP_PORT}:80"
volumes:
- ./:/app
# - ./settings/supervisor/database-migrate.conf:/opt/docker/etc/supervisor.d/database-migrate.conf
# - ./settings/supervisor/job-processing.conf:/opt/docker/etc/supervisor.d/job-processing.conf
environment:
PHP_DATE_TIMEZONE: "${TIMEZONE}"
mysql:
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: ${DATABASE_MYSQL_ROOT_PASSWORD}
MYSQL_USER: ${DATABASE_MYSQL_USER}
MYSQL_PASSWORD: ${DATABASE_MYSQL_PASSWORD}
MYSQL_DATABASE: ${DATABASE_MYSQL_NAME}
volumes:
- movary-database:/var/lib/mysql
- ./storage/:/tmp/host
ports:
- "${DATABASE_MYSQL_PORT}:3306"
mkdocs:
image: squidfunk/mkdocs-material:latest
ports:
- 8000:8000
volumes:
- ./:/docs:ro
volumes:
movary-database: