mirror of
https://github.com/lupyuen/nuttx-forgejo.git
synced 2025-01-12 22:58:28 +08:00
Mount the Forgejo Volume for Docker, because macOS Rancher Desktop doesn't allow setting ownership for Local Filesystem
This commit is contained in:
parent
3c5bdc66c5
commit
56c44a0fec
1 changed files with 8 additions and 2 deletions
|
@ -16,9 +16,15 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- forgejo
|
- forgejo
|
||||||
volumes:
|
volumes:
|
||||||
- ./forgejo:/data
|
## Mount the Forgejo Volume for Docker, because macOS Rancher Desktop doesn't allow setting ownership for Local Filesystem
|
||||||
|
- forgejo-data:/data
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
ports:
|
ports:
|
||||||
- '3002:3000' ## Web Server will be exposed at HTTP Port 3002
|
## Web Server will be exposed at HTTP Port 3002
|
||||||
|
- '3002:3000'
|
||||||
- '222:22'
|
- '222:22'
|
||||||
|
|
||||||
|
## Define the Forgejo Volume for Docker
|
||||||
|
volumes:
|
||||||
|
forgejo-data:
|
||||||
|
|
Loading…
Reference in a new issue