2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-09 14:50:58 +00:00

docs: fix migration steps (#1065)

This commit is contained in:
Revant Nandgaonkar 2023-01-28 12:40:46 +05:30 committed by GitHub
parent 499c1fbed4
commit 8dce4e5f2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,16 +111,19 @@ docker compose -f compose.yaml \
# ... your other overrides
config > ~/gitops/docker-compose.yml
# Pull images
docker compose --project-name <project-name> -f ~/gitops/docker-compose.yml pull
# Stop containers
docker compose --project-name <project-name> -f ~/gitops/docker-compose.yml down
# Remove assets volume for repopulation
docker volume rm <name of assets volume>
# Restart containers
docker compose --project-name <project-name> -f ~/gitops/docker-compose.yml up -d
```
Note:
- pull and stop container commands can be skipped if immutable image tags are used
- `docker compose up -d` will pull new immutable tags if not found.
To migrate sites refer [site operations](./site-operations.md#migrate-site)