-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yml
More file actions
29 lines (28 loc) · 833 Bytes
/
compose.yml
File metadata and controls
29 lines (28 loc) · 833 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
services:
php:
image: ghcr.io/sylius/sylius-php:8.4-alpine
mysql:
image: mysql:8.4
platform: linux/amd64
healthcheck:
test: '/usr/bin/mysql --execute "SHOW databases;"'
timeout: 3s
interval: 1s
retries: 10
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: 1
cap_add:
- SYS_NICE # prevent "mbind: Operation not permitted" errors
ports:
- ${MYSQL_PORT:-3306}:3306
volumes:
- sylius-active-campaign-plugin-mysql-data:/var/lib/mysql:rw
nginx:
image: ghcr.io/sylius/sylius-nginx:latest
depends_on:
- php
mailhog:
# do not use in production!
image: axllent/mailpit:latest
volumes:
sylius-active-campaign-plugin-mysql-data: