mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-10 02:40:11 +08:00
Docker: Automatically migrate repo
This keeps docker containers from entering a crashloop on new image versions License: MIT Signed-off-by: kpcyrd <git@rxv.cc>
This commit is contained in:
parent
04c95fa9d0
commit
3799bcfc2e
@ -76,4 +76,4 @@ VOLUME $IPFS_PATH
|
||||
ENTRYPOINT ["/usr/local/bin/start_ipfs"]
|
||||
|
||||
# Execute the daemon subcommand by default
|
||||
CMD ["daemon"]
|
||||
CMD ["daemon", "--migrate=true"]
|
||||
|
||||
@ -53,4 +53,4 @@ RUN cd $SRC_PATH \
|
||||
USER ipfs
|
||||
VOLUME $IPFS_PATH
|
||||
ENTRYPOINT ["/usr/local/bin/start_ipfs"]
|
||||
CMD ["daemon"]
|
||||
CMD ["daemon", "--migrate=true"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user