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: monica/content.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,11 +62,11 @@ where `%%REPO%%` is the name of the service in your `docker-compose.yml` file.
62
62
63
63
## Configuration using environment variables
64
64
65
-
The Monica image will use environment variables to setup the application. See [Monica documentation](https://github.com/monicahq/monica/blob/main/.env.example) for common used variables you should setup.
65
+
The Monica image will use environment variables to setup the application. See [Monica documentation](https://github.com/monicahq/monica/blob/4.x/.env.example) for common used variables you should setup.
66
66
67
67
## Running the image with docker-compose
68
68
69
-
See some examples of docker-compose possibilities in the [example section](%%GITHUB-REPO%%/blob/master/.examples).
69
+
See some examples of docker-compose possibilities in the [example section](%%GITHUB-REPO%%/blob/main/.examples).
70
70
71
71
---
72
72
@@ -79,7 +79,7 @@ Make sure to pass in values for `APP_KEY` variable before you run this setup.
79
79
1. Create a `docker-compose.yml` file
80
80
81
81
```yaml
82
-
version: "3.4"
82
+
version: "3.9"
83
83
84
84
services:
85
85
app:
@@ -89,7 +89,7 @@ Make sure to pass in values for `APP_KEY` variable before you run this setup.
@@ -98,7 +98,7 @@ Make sure to pass in values for `APP_KEY` variable before you run this setup.
98
98
restart: always
99
99
100
100
db:
101
-
image: mysql:5.7
101
+
image: mariadb:11
102
102
environment:
103
103
- MYSQL_RANDOM_ROOT_PASSWORD=true
104
104
- MYSQL_DATABASE=monica
@@ -135,28 +135,28 @@ Make sure to pass in values for `APP_KEY` variable before you run this setup.
135
135
136
136
When using FPM image, you will need another container with a webserver to proxy http requests. In this example we use nginx with a basic container to do this.
137
137
138
-
1. Download `nginx.conf` and `Dockerfile` file for nginx image. An example can be found on the [`example section`](%%GITHUB-REPO%%/blob/master/.examples/supervisor/fpm/web/)
138
+
1. Download `nginx.conf` and `Dockerfile` file for nginx image. An example can be found on the [`example section`](%%GITHUB-REPO%%/blob/main/.examples/full/fpm/web/)
@@ -175,7 +175,7 @@ When using FPM image, you will need another container with a webserver to proxy
175
175
restart: always
176
176
177
177
db:
178
-
image: mysql:5.7
178
+
image: mariadb:11
179
179
environment:
180
180
- MYSQL_RANDOM_ROOT_PASSWORD=true
181
181
- MYSQL_DATABASE=monica
@@ -218,4 +218,4 @@ One way to expose your Monica instance is to use a proxy webserver from your hos
218
218
219
219
### Using a proxy webserver container
220
220
221
-
See some examples of docker-compose possibilities in the [example section](%%GITHUB-REPO%%/blob/master/.examples) to show how to a proxy webserver with ssl capabilities.
221
+
See some examples of docker-compose possibilities in the [example section](%%GITHUB-REPO%%/blob/main/.examples) to show how to a proxy webserver with ssl capabilities.
0 commit comments