sftp/docker-compose.yaml

26 lines
387 B
YAML
Raw Normal View History

2022-11-30 11:54:02 +08:00
version: '3'
2022-11-27 22:22:10 +08:00
services:
app:
2022-12-02 17:26:36 +08:00
# command: command
2022-11-27 22:22:10 +08:00
container_name: v2
image: app:latest
restart: always
ports:
- 3111-3222:3111-3222
networks:
- apps
volumes:
2022-12-02 17:26:36 +08:00
- ${DIR}:/etc/app
2022-11-30 11:54:02 +08:00
- /etc/localtime:/etc/localtime:ro
2022-11-27 22:22:10 +08:00
environment:
APP_ADDRESS: 0.0.0.0:3111
depends_on:
- app-d
networks:
app:
2022-12-02 17:26:36 +08:00
driver: bridge