You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-5Lines changed: 20 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
# Hosting Mautic 5 on a VPS with Docker Compose
1
+
# Hosting Mautic 6 on a VPS with Docker Compose
2
2
3
-
This is a working example of automate hosting Mautic 5 instance(s) on Virtual Private Server (VPS) on [digitalocean.com](https://m.do.co/c/d0ce234a41be)
3
+
This is a working example of automate hosting Mautic 6 instance(s) on Virtual Private Server (VPS) on [digitalocean.com](https://m.do.co/c/d0ce234a41be)
4
4
5
5
## Mautic Conference Global 2024 video about this project
6
6
@@ -24,7 +24,7 @@ This is a bit different from your normal "execute a bunch of commands" tutorials
24
24
25
25
It allows you to:
26
26
- Install Mautic within 10 minutes.
27
-
- Upgrade Mautic with 1 line change.
27
+
- Upgrade Mautic with 1 line change in `.env` file.
28
28
- Downgrade with commit revert.
29
29
- Install themes and plugins via Composer.
30
30
- Anyone from your team can do this. Avoid the [Bus Factor](https://en.wikipedia.org/wiki/Bus_factor). GitHub allows you to set rules that someone needs to approve all changes before they are applied.
@@ -93,7 +93,7 @@ A container is a list or a recipe of commands that needs to be executed to build
93
93
94
94
**Docker Compose** enables simplified networking between the containers and [1 config file](docker-compose.yml) where all that interconnection is described.
95
95
96
-
The [docker-compose.yml](docker-compose.yml) in this repository was copied from https://github.com/mautic/docker-mautic/tree/mautic5/examples/basic
96
+
The [docker-compose.yml](docker-compose.yml) in this repository uses the official [Mautic Docker images](https://hub.docker.com/r/mautic/mautic).
97
97
98
98
### Containers
99
99
@@ -123,8 +123,23 @@ Volumes are basically files and directories that are shared between a container
123
123
124
124
One of the goals of this deployment is to have a trace of everything related to the Mautic instance configuration. Installing a plugin or a theme can break your Mautic so it's good to have a way to roll back if it happens. And to have a trace of who installed what, when and why is also great to have. Git gives us all that.
125
125
126
-
In the [Dockerfile](Dockerfile) there is an example of how to install a package. In this case it is a [`chimpino/theme-air`](https://chimpino.com/themes) theme. If you need to install anyting else, you'll just add a new line with the package you need and commit this one line change.
126
+
### Configuration via Environment Variables
127
127
128
+
Themes and plugins are now configured in the [`.env`](.env) file using environment variables:
129
+
130
+
```bash
131
+
# Mautic Packages (comma-separated, leave empty if none needed)
0 commit comments