To upgrade to latest version of seafile server:Ĭp -R /opt/seafile-backup/data/* /opt/seafile-data/seafile/ You can create it by your self, and write the configuration of files similar to the samples folder. /shared/nf: This file does not exist by default./shared/ssl: This is directory for certificate, which does not exist by default.For example, you can find the nginx logs in shared/logs/var-log/nginx/. /shared/logs/var-log: This is the directory that would be mounted as /var/log inside the container./shared/logs: This is the directory for logs.For example, you can find seaf-server logs in shared/seafile/logs/seafile.log. /shared/seafile/logs: This is the directory that would contain the log files of seafile server processes./shared/seafile: This is the directory for seafile server configuration 、logs and data.This allows you to rebuild containers easily without losing important information. You may elect to store certain persistent information outside of a container, in our case we keep various log files and upload directory outside. To conclude, set the directory permissions of the Elasticsearch volumne: If you have pulled a particular version, modify the image tag accordingly. * The image tag of the Seafile version to install (image) * The volume path for the container seafile * The volume path for the container elasticsearch If you want to use your own SSL certificate, leave SEAFILE_SERVER_LETSENCRYPT set to false and follow the instructions in section Configuring a Custom SSL Certificate.Īdditional customizable options in the Compose file are: If you want to use Let's Encrypt to obtain a SSL certificate, set SEAFILE_SERVER_LETSENCRYPT to true (and do not comment out port 80 because it is required when requesting a Let's Encrypt certificate). To enable HTTPS access - which is required for production use -, enter the SEAFILE_SERVER_HOSTNAME and uncomment port 443 in the configuration of the container seafile. The new password for MYSQL_ROOT_PASSWORD and DB_ROOT_PASSWD must be identical. * The use of Let's Encrypt for HTTPS (SEAFILE_SERVER_LETSENCRYPT) * The host name (SEAFILE_SERVER_HOSTNAME) * The listening ports of the container seafile * The Seafile admin password (SEAFILE_ADMIN_PASSWORD) * The Seafile admin email address (SEAFILE_ADMIN_EMAIL) * The password of MariaDB root (MYSQL_ROOT_PASSWORD and DB_ROOT_PASSWD) The following fields merit particular attention: Run Seafile as non root user inside docker Downloading and Modifying docker-compose.yml
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |