-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (49 loc) · 969 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (49 loc) · 969 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
40
41
42
43
44
45
46
47
48
49
version: '3.8'
name: 'drop-in-docker-php'
services:
mysql:
image: mysql:8.0.33
env_file:
- ./env/mysql.env
ports:
- $MYSQL_PORT:3306
volumes:
- ./vols/mysql/data/:/var/lib/mysql/
user: $UID:$UID
adminer:
image: adminer:4.8.1-standalone
env_file:
- ./env/adminer.env
ports:
- $ADMINER_PORT:8080
mailhog:
image: mailhog/mailhog:v1.0.1
platform: linux/amd64
ports:
- $MAILHOG_SMTP_PORT:1025
- $MAILHOG_UI_PORT:8025
app:
image: $APP_IMAGE
build:
context: .
dockerfile: ./Dockerfiles/app.Dockerfile
args:
UID: $UID
volumes:
- $APP_VOLUMES_SRC:/var/www/html/
- ./vols/app/docker-user-home/:/home/www-data/
env_file:
- ./env/app.env
static:
image: nginx:1.24.0-alpine3.17
volumes:
- $STATIC_VOLUMES_PUBLIC:/usr/share/nginx/html/
proxy:
image: $PROXY_IMAGE
build:
context: .
dockerfile: ./Dockerfiles/proxy.Dockerfile
ports:
- $PROXY_PORT:80
env_file:
- ./env/proxy.env