add volumes

This commit is contained in:
Lorenzo Carbonell 2023-03-25 10:56:11 +01:00
parent 601ab31cfb
commit 57fda40baf
1 changed files with 11 additions and 0 deletions

View File

@ -6,9 +6,20 @@ services:
container_name: sftpgo
init: true
restart: unless-stopped
ports:
- 2022:2022
- 10080:10080
environment:
- SFTPGO_WEBDAV__BINDINGS__0__PORT=10080
volumes:
- data:/sfv/sftpgo
- home:/var/lib/sftpgo
networks:
- proxy
volumes:
data: {}
home: {}
networks:
proxy:
external: true