-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
executable file
·46 lines (42 loc) · 1.11 KB
/
compose.yaml
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
services:
php:
container_name: ${COMPOSE_PROJECT_NAME}-php
build:
target: frankenphp_prod
volumes:
- php-config:/config
- php-data:/data
ports:
- 80:80
- 443:443
- 443:443/udp
restart: unless-stopped
php-worker:
extends:
service: php
container_name: ${COMPOSE_PROJECT_NAME}-php-worker
ports: !reset []
command: ['bash', '-c', '/usr/bin/supervisord -c /etc/supervisor/supervisord.conf']
restart: unless-stopped
db:
container_name: ${COMPOSE_PROJECT_NAME}-db
image: mariadb:latest
volumes:
- db-data:/var/lib/mysql
ports:
- 3306:3306
restart: unless-stopped
phpmyadmin:
container_name: ${COMPOSE_PROJECT_NAME}-phpmyadmin
image: phpmyadmin:latest
ports:
- 8080:80
environment:
PMA_ARBITRARY: true
PMA_HOST: db
UPLOAD_LIMIT: 5M
restart: unless-stopped
volumes:
php-config:
php-data:
db-data: