FossilRepo
Use local ./repos bind mount instead of Docker volume for fossil data Switched from named Docker volume (fossil-repos) to local bind mount (./repos) for .fossil files. Added repos/ to .gitignore. Added deploy.sh.
Commit
e23e9862e63d30e7cf683f3110824f9cce6a60a80918a3ff27335126acfc6cf6
Parent
9ef0d0fc02b3268…
2 files changed
+1
+1
-2
+1
| --- .gitignore | ||
| +++ .gitignore | ||
| @@ -27,5 +27,6 @@ | ||
| 27 | 27 | runtime/ |
| 28 | 28 | /assets/ |
| 29 | 29 | fossilrepo.fossil |
| 30 | 30 | .fslckout |
| 31 | 31 | site/ |
| 32 | +repos/ | |
| 32 | 33 |
| --- .gitignore | |
| +++ .gitignore | |
| @@ -27,5 +27,6 @@ | |
| 27 | runtime/ |
| 28 | /assets/ |
| 29 | fossilrepo.fossil |
| 30 | .fslckout |
| 31 | site/ |
| 32 |
| --- .gitignore | |
| +++ .gitignore | |
| @@ -27,5 +27,6 @@ | |
| 27 | runtime/ |
| 28 | /assets/ |
| 29 | fossilrepo.fossil |
| 30 | .fslckout |
| 31 | site/ |
| 32 | repos/ |
| 33 |
+1
-2
| --- docker-compose.yaml | ||
| +++ docker-compose.yaml | ||
| @@ -12,11 +12,11 @@ | ||
| 12 | 12 | REDIS_URL: redis://redis:6379/1 |
| 13 | 13 | CELERY_BROKER: redis://redis:6379/0 |
| 14 | 14 | EMAIL_HOST: mailpit |
| 15 | 15 | volumes: |
| 16 | 16 | - .:/app |
| 17 | - - fossil-repos:/data/repos | |
| 17 | + - ./repos:/data/repos | |
| 18 | 18 | depends_on: |
| 19 | 19 | postgres: |
| 20 | 20 | condition: service_healthy |
| 21 | 21 | redis: |
| 22 | 22 | condition: service_healthy |
| @@ -98,6 +98,5 @@ | ||
| 98 | 98 | profiles: |
| 99 | 99 | - storage |
| 100 | 100 | |
| 101 | 101 | volumes: |
| 102 | 102 | pgdata: |
| 103 | - fossil-repos: | |
| 104 | 103 |
| --- docker-compose.yaml | |
| +++ docker-compose.yaml | |
| @@ -12,11 +12,11 @@ | |
| 12 | REDIS_URL: redis://redis:6379/1 |
| 13 | CELERY_BROKER: redis://redis:6379/0 |
| 14 | EMAIL_HOST: mailpit |
| 15 | volumes: |
| 16 | - .:/app |
| 17 | - fossil-repos:/data/repos |
| 18 | depends_on: |
| 19 | postgres: |
| 20 | condition: service_healthy |
| 21 | redis: |
| 22 | condition: service_healthy |
| @@ -98,6 +98,5 @@ | |
| 98 | profiles: |
| 99 | - storage |
| 100 | |
| 101 | volumes: |
| 102 | pgdata: |
| 103 | fossil-repos: |
| 104 |
| --- docker-compose.yaml | |
| +++ docker-compose.yaml | |
| @@ -12,11 +12,11 @@ | |
| 12 | REDIS_URL: redis://redis:6379/1 |
| 13 | CELERY_BROKER: redis://redis:6379/0 |
| 14 | EMAIL_HOST: mailpit |
| 15 | volumes: |
| 16 | - .:/app |
| 17 | - ./repos:/data/repos |
| 18 | depends_on: |
| 19 | postgres: |
| 20 | condition: service_healthy |
| 21 | redis: |
| 22 | condition: service_healthy |
| @@ -98,6 +98,5 @@ | |
| 98 | profiles: |
| 99 | - storage |
| 100 | |
| 101 | volumes: |
| 102 | pgdata: |
| 103 |