mirror of
https://github.com/altstackHQ/altstack-data.git
synced 2026-04-18 01:53:14 +02:00
feat: add 65 production-ready docker-compose configurations for self-hosting
This commit is contained in:
42
deployments/mautic/docker-compose.yml
Normal file
42
deployments/mautic/docker-compose.yml
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
# -------------------------------------------------------------------------
|
||||
# 🚀 Created and distributed by The AltStack
|
||||
# 🌍 https://thealtstack.com
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
mautic:
|
||||
image: mautic/mautic:latest
|
||||
container_name: mautic
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
ports:
|
||||
- "8080:80"
|
||||
environment:
|
||||
- MAUTIC_DB_HOST=db
|
||||
- MAUTIC_DB_USER=mautic
|
||||
- MAUTIC_DB_PASSWORD=mautic
|
||||
- MAUTIC_DB_NAME=mautic
|
||||
- MAUTIC_RUN_CRON_JOBS=true
|
||||
volumes:
|
||||
- mautic_data:/var/www/html
|
||||
|
||||
db:
|
||||
image: mysql:5.7
|
||||
container_name: mautic-db
|
||||
restart: unless-stopped
|
||||
command: --default-authentication-plugin=mysql_native_password
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=root
|
||||
- MYSQL_USER=mautic
|
||||
- MYSQL_PASSWORD=mautic
|
||||
- MYSQL_DATABASE=mautic
|
||||
volumes:
|
||||
- mautic_db_data:/var/lib/mysql
|
||||
|
||||
volumes:
|
||||
mautic_data:
|
||||
mautic_db_data:
|
||||
Reference in New Issue
Block a user