This commit is contained in:
liuyx 2024-01-18 10:41:00 +08:00
parent 992515e75e
commit ea96779d0f
2 changed files with 9 additions and 9 deletions

2
.env
View File

@ -1,4 +1,4 @@
NAME="def"
NAME="sftp"
COMPOSE_PROJECT_NAME=$NAME
TZ=Asia/Shanghai

View File

@ -1,20 +1,20 @@
version: '3'
services:
app:
sftp:
# command: command
container_name: v2
image: app:latest
container_name: sftp
image: drakkan/sftpgo
restart: always
ports:
- 3111-3222:3111-3222
- 8080:8888
networks:
- local
volumes:
- ${DIR}:/etc/app
- /etc/localtime:/etc/localtime:ro
- ${DIR}:/app
# - /etc/localtime:/etc/localtime:ro
environment:
APP_ADDRESS: 0.0.0.0:3111
# environment:
# APP_ADDRESS: 0.0.0.0:3111
networks:
local: