1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-21 01:49:22 +02:00

Back to utf8mb4...

This commit is contained in:
andryyy 2016-12-19 12:23:56 +01:00
parent c54da60071
commit 1cad07dc5c
3 changed files with 1 additions and 19 deletions

View File

@ -137,7 +137,7 @@ Backup database:
source mailcow.conf
# Create
DATE=$(date +"%Y%m%d_%H%M%S")
docker-compose exec mysql-mailcow mysqldump --default-character-set=utf8 -u${DBUSER} -p${DBPASS} ${DBNAME} > backup_${DBNAME}_${DATE}.sql
docker-compose exec mysql-mailcow mysqldump --default-character-set=utf8mb4 -u${DBUSER} -p${DBPASS} ${DBNAME} > backup_${DBNAME}_${DATE}.sql
```
### Backup maildir (simple tar):

View File

@ -1,8 +0,0 @@
FROM debian:jessie
RUN mkdir -p /data/dkim/keys \
&& mkdir -p /data/dkim/txt \
&& chown -R 33:33 /data/dkim
VOLUME /data/dkim
USER www-data
CMD ["echo", "Data container for dkim keys"]

View File

@ -1,10 +0,0 @@
FROM debian:jessie
RUN groupadd -g 5000 vmail \
&& useradd -g vmail -u 5000 vmail -d /var/vmail
RUN mkdir -p /var/vmail \
&& chown -R 5000:5000 /var/vmail
VOLUME /var/vmail
USER vmail
CMD ["echo", "Data container for mail"]