2022-11-30 11:54:02 +08:00
|
|
|
version: '3'
|
2022-11-27 22:22:10 +08:00
|
|
|
services:
|
2024-01-18 10:41:00 +08:00
|
|
|
sftp:
|
2022-12-02 17:26:36 +08:00
|
|
|
# command: command
|
2024-01-18 10:41:00 +08:00
|
|
|
container_name: sftp
|
|
|
|
image: drakkan/sftpgo
|
2022-11-27 22:22:10 +08:00
|
|
|
restart: always
|
|
|
|
ports:
|
2024-01-18 10:41:00 +08:00
|
|
|
- 8080:8888
|
2022-11-27 22:22:10 +08:00
|
|
|
networks:
|
2023-07-08 14:56:37 +08:00
|
|
|
- local
|
2022-11-27 22:22:10 +08:00
|
|
|
volumes:
|
2024-01-18 10:41:00 +08:00
|
|
|
- ${DIR}:/app
|
|
|
|
# - /etc/localtime:/etc/localtime:ro
|
2022-11-30 11:54:02 +08:00
|
|
|
|
2024-01-18 10:41:00 +08:00
|
|
|
# environment:
|
|
|
|
# APP_ADDRESS: 0.0.0.0:3111
|
2022-11-27 22:22:10 +08:00
|
|
|
|
|
|
|
networks:
|
2023-07-08 14:56:37 +08:00
|
|
|
local:
|
|
|
|
name: local
|
|
|
|
external: true
|
2022-12-02 17:26:36 +08:00
|
|
|
|
|
|
|
|