https://github.com/druidfi/mautic
https://github.com/druidfi/mautic
mautic
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/druidfi/mautic
- Owner: druidfi
- Created: 2024-01-11T09:48:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-20T06:20:38.000Z (over 1 year ago)
- Last Synced: 2024-04-22T05:10:05.628Z (over 1 year ago)
- Topics: mautic
- Language: Dockerfile
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Druid Mautic Docker images
## Variants
- [druidfi/mautic](https://hub.docker.com/r/druidfi/mautic/tags) - Default image with no DXP brand
- [druidfi/mautic-dxp](https://hub.docker.com/r/druidfi/mautic-dxp/tags) - DXP branded image## Tagging
- `:5` - Latest stable release
- `:5.2` - Latest stable minor release
- `:5.2.5` - Stable patch release## Build
Print the build plan:
```console
docker buildx bake -f docker-bake.hcl --print
```Build images locally:
```console
docker buildx bake -f docker-bake.hcl --pull --progress plain --no-cache --load --set '*.platform=linux/arm64'
```Build and push images (needs Docker Hub credentials):
```console
docker buildx create --use --platform linux/amd64,linux/arm64
docker buildx bake -f docker-bake.hcl --pull --no-cache --push
```## Testing
```console
docker compose up --wait
docker compose exec -it -u www-data -w /var/www/html mautic-app php ./bin/console --ansi \
mautic:install --admin_firstname=Admin --admin_lastname=Administer \
--admin_email=admin@yourdomain.com \
--admin_username=admin \
--admin_password=adminpassu \
--db_host=mautic-db --db_port=3306 \
--db_user=mautic --db_password=mautic \
--db_name=mautic \
http://mautic-dxp.docker.so
```Open https://mautic-dxp.docker.so/
Open shell into Mautic container:
```console
docker compose exec -it -u www-data -w /var/www/html mautic-app /bin/bash
```Run console:
```console
php bin/console
```