mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-29 05:06:12 +08:00
4cb2b25bd9
* chore(deps): update drakkan/sftpgo docker tag to v2.6.2 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
27 lines
1.0 KiB
YAML
27 lines
1.0 KiB
YAML
services:
|
|
sftpgo:
|
|
image: drakkan/sftpgo:v2.6.2-alpine
|
|
container_name: ${CONTAINER_NAME}
|
|
networks:
|
|
- 1panel-network
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:8080
|
|
- ${PANEL_APP_PORT_SFTP}:${PANEL_APP_PORT_SFTP}
|
|
- ${PANEL_APP_PORT_FTP}:${PANEL_APP_PORT_FTP}
|
|
- ${PASSIVE_PORT_RANGE_START}-${PASSIVE_PORT_RANGE_END}:${PASSIVE_PORT_RANGE_START}-${PASSIVE_PORT_RANGE_END}
|
|
- ${PANEL_APP_PORT_WEBDAV}:${PANEL_APP_PORT_WEBDAV}
|
|
environment:
|
|
SFTPGO_FTPD__BINDINGS__0__PORT: ${PANEL_APP_PORT_FTP}
|
|
SFTPGO_WEBDAVD__BINDINGS__0__PORT: ${PANEL_APP_PORT_WEBDAV}
|
|
SFTPGO_SFTPD__BINDINGS__0__PORT: ${PANEL_APP_PORT_SFTP}
|
|
SFTPGO_FTPD__BINDINGS__0__FORCE_PASSIVE_IP: ${FTP_EXTERNAL_IP}
|
|
SFTPGO_FTPD__PASSIVE_PORT_RANGE__START: ${PASSIVE_PORT_RANGE_START}
|
|
SFTPGO_FTPD__PASSIVE_PORT_RANGE__END: ${PASSIVE_PORT_RANGE_END}
|
|
volumes:
|
|
- ./data/data:/srv/sftpgo
|
|
- ./data/config:/var/lib/sftpgo
|
|
labels:
|
|
createdBy: "Apps"
|
|
networks:
|
|
1panel-network:
|
|
external: true |