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: docs/Updating-the-Project.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,22 @@ Quick instructions:
8
8
2. check `git status` for any local changes you may have made to project files. Save and preserve your changes by doing a commit: `git commit -a -m "local customization"`. Or revert them using: `git checkout -- path/to/changed_file`.
4. get latest images from the web: `docker-compose pull`
11
-
5. rebuild localy created images from new Dockerfiles: `docker-compose build --pull`
12
-
6. update containers to latest: `docker-compose up --build -d`
13
-
7.**optional**, needed if something won't start after the rest of the steps - to update docker-compose.yml with new definitions for a container: open `./menu.sh`, select Build Stack, unselect and then reselect the container causing the issue, and then build by presing enter. Check if this fixed your issue: `docker-compose up -d`
11
+
5. rebuild localy created images from new Dockerfiles: `docker-compose build --pull --no-cache`
12
+
6. update running containers to latest: `docker-compose up --build -d`
13
+
14
+
*Troubleshooting:* if a container fails to restart after update
15
+
* try restarting the whole stack: `docker-compose restart`
16
+
* Check log output of the failing service: `docker-compose logs *service-name*`
17
+
* try googling and fixing problems in docker-compose.yml manually.
18
+
* backup your docker-compose.yml and try recreating the failing service
19
+
definition using menu.sh:
20
+
*`cp docker-compose.yml docker-compose.yml.bak`
21
+
*`./menu.sh`, select Build Stack, unselect the failing service, press enter
22
+
to build, and then exit.
23
+
*`./menu.sh`, select Build Stack, select the service back again, press enter
0 commit comments