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
1. Double check if below environment variables are available and filled in `.prod.env` environment file. If not, add them.
22
+
Previous individual `server` container is replaced by 3 service dedicated containers that split the core components of <MainPlatformName />, `server-gunicorn` the app, `celery-beat` Celery task scheduler and `celery-worker` a dedicated worker container for Celery tasks.
23
+
:::
24
+
25
+
1. Stop your running docker containers and build the new images
26
+
```bash
27
+
$ docker compose -f docker-compose.yml down # or similarly, based on your deployment
28
+
# INFO: After shutdown update the docker-compose.yml file to latest release
29
+
```
30
+
31
+
2. Double check if below environment variables are available and filled in `.prod.env` environment file. If not, add them.
21
32
22
33
```bash
23
34
SECURITY_EMAIL_SALT='<YOUR STRONG HASH>'
24
35
SECURITY_BEARER_SALT='<YOUR STRONG HASH>'
25
36
```
26
37
27
-
2. Start up your docker containers
38
+
3. Start up your docker containers
28
39
```bash
29
-
$ docker-compose -f docker-compose.yml up # or similarly, based on your deployment
40
+
$ dockercompose -f docker-compose.yml -d up # or similarly, based on your deployment
30
41
```
31
42
32
-
3. Check that you are on correct versions (`07f2185e2428`, `df5b4efdae7b`).
43
+
4. Check that you are on correct versions (`07f2185e2428`, `df5b4efdae7b`).
33
44
```bash
34
45
$ docker exec merginmaps-server flask db current
35
46
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
@@ -44,7 +55,7 @@ Perform the migration:
44
55
$ docker exec merginmaps-server flask db stamp df5b4efdae7b
45
56
```
46
57
47
-
4. Run the database migration:
58
+
5. Run the database migration:
48
59
```bash
49
60
$ docker exec merginmaps-server flask db upgrade community@ba5051218de4
50
61
$ docker exec merginmaps-server flask db upgrade enterprise@ba5ae5972c4a
0 commit comments