fix (service): store ssh data off nas
This commit is contained in:
parent
d5238020ea
commit
0a0e14c226
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ services:
|
|||
server:
|
||||
image: codeberg.org/forgejo/forgejo:10
|
||||
container_name: forgejo
|
||||
environment: # Run as my user
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
restart: always
|
||||
|
@ -11,6 +11,8 @@ services:
|
|||
- web
|
||||
volumes:
|
||||
- /mnt/storagebox_alpha/forgejo/data:/data
|
||||
- /opt/forgejo/ssh:/data/ssh:rw
|
||||
- /opt/forgejo/git-ssh:/data/git/.ssh:rw
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
|
@ -18,7 +20,6 @@ services:
|
|||
- "222:22"
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: mysql:8
|
||||
container_name: forgejo-db
|
||||
|
@ -32,7 +33,6 @@ services:
|
|||
- forgejo
|
||||
volumes:
|
||||
- ~/mysql_data:/var/lib/mysql
|
||||
|
||||
networks:
|
||||
forgejo:
|
||||
external: false
|
||||
|
|
Loading…
Add table
Reference in a new issue