Initial move to consolidate services on ryzen host
This commit is contained in:
+5
-14
@@ -11,23 +11,14 @@ services:
|
||||
- TZ=Europe/London
|
||||
|
||||
volumes:
|
||||
# Local: app.ini, database (sqlite by default), queues (LevelDB), sessions, etc.
|
||||
# - gitea-data:/data-old
|
||||
- /mnt/gitea_data:/data
|
||||
|
||||
# NAS: only repositories (best practice)
|
||||
- /mnt/gitea_repos:/data/git/repositories
|
||||
# NAS: configuration and repositories
|
||||
- /mnt/gitea_data:/data:z
|
||||
- /mnt/gitea_repos:/data/git/repositories:z
|
||||
|
||||
# Optional: put LFS on NAS too
|
||||
# - /mnt/gitea-lfs:/data/git/lfs
|
||||
# - /mnt/gitea-lfs:/data/git/lfs:z
|
||||
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
ports:
|
||||
- "3000:3000" # Web
|
||||
- "3002:3000" # Web
|
||||
- "2222:22" # SSH (container 22 -> host 2222)
|
||||
|
||||
# volumes:
|
||||
# gitea-data:
|
||||
# driver: local
|
||||
|
||||
Reference in New Issue
Block a user