add volumes

This commit is contained in:
Lorenzo Carbonell 2023-03-25 10:56:11 +01:00
parent 601ab31cfb
commit 57fda40baf

View File

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