modified
This commit is contained in:
12
.gitignore
vendored
12
.gitignore
vendored
@@ -1,20 +1,14 @@
|
|||||||
# Ignore everything in the volumes directory
|
# Ignore everything in the volumes directory
|
||||||
volumes/*
|
volumes/*
|
||||||
|
|
||||||
# Unignore directories leading to seahub_settings.py
|
# Allow tracking of seahub_settings.py specifically
|
||||||
!volumes/seafile-data/
|
|
||||||
!volumes/seafile-data/seafile/
|
|
||||||
!volumes/seafile-data/seafile/conf/
|
|
||||||
|
|
||||||
# Unignore seahub_settings.py
|
|
||||||
!volumes/seafile-data/seafile/conf/seahub_settings.py
|
!volumes/seafile-data/seafile/conf/seahub_settings.py
|
||||||
|
|
||||||
# Ignore contents of seafile-data except for seahub_settings.py
|
# Ignore everything in seafile-data except the specific path to seahub_settings.py
|
||||||
volumes/seafile-data/*
|
volumes/seafile-data/*
|
||||||
!volumes/seafile-data/seafile/
|
!volumes/seafile-data/seafile/
|
||||||
!volumes/seafile-data/seafile/conf/
|
!volumes/seafile-data/seafile/conf/
|
||||||
!volumes/seafile-data/seafile/conf/seahub_settings.py
|
|
||||||
|
|
||||||
# Keep seafile-mariadb and seafile-memcached directories but ignore their contents
|
# Ignore everything else in seafile-mariadb and seafile-memcached directories
|
||||||
volumes/seafile-mariadb/*
|
volumes/seafile-mariadb/*
|
||||||
volumes/seafile-memcached/*
|
volumes/seafile-memcached/*
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ services:
|
|||||||
restart: "on-failure"
|
restart: "on-failure"
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/seafile-data:/shared
|
- ./volumes/seafile-data:/shared
|
||||||
- ./volumes/seafile-data/seafile/conf/seahub_settings.py:/shared/seafile/conf/seahub_settings.py
|
- ./volumes/seafile-data/seafile/conf/seahub_settings.py:/shared/seafile/conf/seahub_settings.py:ro
|
||||||
environment:
|
environment:
|
||||||
- DB_HOST=seafile-mariadb
|
- DB_HOST=seafile-mariadb
|
||||||
- DB_ROOT_PASSWD=Fk%Bysffpw5ob2t@
|
- DB_ROOT_PASSWD=Fk%Bysffpw5ob2t@
|
||||||
|
|||||||
Reference in New Issue
Block a user