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:
|
2023-07-08 14:56:37 +08:00
|
|
|
- local
|
2022-11-27 22:22:10 +08:00
|
|
|
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
|
|
|
|
|
|
|
|
networks:
|
2023-07-08 14:56:37 +08:00
|
|
|
local:
|
|
|
|
name: local
|
|
|
|
external: true
|
2022-12-02 17:26:36 +08:00
|
|
|
|
|
|
|
|