-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·39 lines (35 loc) · 918 Bytes
/
docker-compose.yml
File metadata and controls
executable file
·39 lines (35 loc) · 918 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
34
35
36
37
38
39
version: '3.0'
services:
apache:
build:
context: ./docker/apache
args:
UID: ${UID}
ports:
- '80:80'
- '1510:1510'
volumes:
- ../:${PROJECT_DIR}:delegated
- ./docker/logs/apache:/usr/local/apache2/logs/:delegated
working_dir: ${PROJECT_DIR}
mysql:
build: ./docker/mysql
volumes:
- db_data:/var/lib/mysql:delegated
ports:
- '3306:3306'
environment:
MYSQL_USER: user
MYSQL_PASSWORD: userpass
MYSQL_ROOT_PASSWORD: root
php:
build:
context: ./docker/php
args:
TIMEZONE: ${TIMEZONE}
UID: ${UID}
volumes:
- ../:${PROJECT_DIR}:delegated
working_dir: ${PROJECT_DIR}
volumes:
db_data: