21 lines
631 B
Plaintext
21 lines
631 B
Plaintext
# Ignore everything in the volumes directory
|
|
volumes/*
|
|
|
|
# Unignore directories leading to seahub_settings.py
|
|
!volumes/seafile-data/
|
|
!volumes/seafile-data/seafile/
|
|
!volumes/seafile-data/seafile/conf/
|
|
|
|
# Unignore seahub_settings.py
|
|
!volumes/seafile-data/seafile/conf/seahub_settings.py
|
|
|
|
# Ignore contents of seafile-data except for seahub_settings.py
|
|
volumes/seafile-data/*
|
|
!volumes/seafile-data/seafile/
|
|
!volumes/seafile-data/seafile/conf/
|
|
!volumes/seafile-data/seafile/conf/seahub_settings.py
|
|
|
|
# Keep seafile-mariadb and seafile-memcached directories but ignore their contents
|
|
volumes/seafile-mariadb/*
|
|
volumes/seafile-memcached/*
|