mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 16:48:49 +01:00
Docker: Fix "Failed export and unexpected container restart"
- Fixes #4089
Also this was broken too:
docker-compose exec wekandb apt-get update
because /tmp didn't exist, it was introduced by this commit:
1322c1fbbd
This commit is contained in:
parent
343dcb4995
commit
206828b440
5 changed files with 4 additions and 22 deletions
|
|
@ -236,7 +236,7 @@ RUN \
|
|||
set -o xtrace && \
|
||||
apt-get clean -y && \
|
||||
apt-get autoremove -y && \
|
||||
rm -Rf /tmp* && \
|
||||
rm -Rf /tmp/* && \
|
||||
rm -Rf /home/wekan/app_build && \
|
||||
rm -Rf /var/cache/apt /var/lib/apt/lists && \
|
||||
rm -Rf /var/lib/apt/lists/*
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ services:
|
|||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- wekan-db:/data/db
|
||||
- wekan-db-dump:/dump
|
||||
- ./volumes/wekan-db:/data/db
|
||||
- ./volumes/wekan-db-dump:/dump
|
||||
|
||||
wekan-dev:
|
||||
container_name: wekan-dev-app
|
||||
|
|
@ -45,15 +45,6 @@ services:
|
|||
- ../i18n:/home/wekan/app/i18n
|
||||
- ../server:/home/wekan/app/server
|
||||
- ../public:/home/wekan/app/public
|
||||
- wekan-tmp:/tmp
|
||||
|
||||
volumes:
|
||||
wekan-dev-db:
|
||||
driver: local
|
||||
wekan-dev-db-dump:
|
||||
driver: local
|
||||
wekan-tmp:
|
||||
driver: local
|
||||
|
||||
networks:
|
||||
wekan-dev-tier:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue