Created
February 4, 2023 11:20
-
-
Save flomero/7eb6b900c4445c160a6ff6f98e9aeec3 to your computer and use it in GitHub Desktop.
Mautic Docker Compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
mauticdb: | |
image: percona/percona-server:5.7 | |
container_name: mauticdb | |
volumes: | |
- mysql_data:/var/lib/mysql | |
environment: | |
- MYSQL_ROOT_PASSWORD=Y%nIT0#1eXG5 | |
command: | |
--character-set-server=utf8mb4 --collation-server=utf8mb4_general_ci | |
mautic: | |
image: mautic/mautic:latest | |
container_name: mautic | |
links: | |
- mauticdb:mysql | |
depends_on: | |
- mauticdb | |
ports: | |
- 8080:80 | |
volumes: | |
- mautic_data:/var/www/html | |
environment: | |
- MAUTIC_DB_HOST=mauticdb | |
- MYSQL_PORT_3306_TCP=3306 | |
- MAUTIC_DB_USER=root | |
- MAUTIC_DB_PASSWORD=Y%nIT0#1eXG5 | |
- MAUTIC_DB_NAME=mautic | |
- MAUTIC_RUN_CRON_JOBS=true | |
volumes: | |
mysql_data: | |
driver: local | |
mautic_data: | |
driver: local | |
networks: | |
default: | |
name: scoobydoo | |
external: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment