ubuntu/docker-compose.yaml

21 lines
435 B
YAML
Raw Normal View History

2022-11-27 22:22:10 +08:00
services:
2024-09-02 15:19:23 +08:00
u22:
2022-12-02 17:26:36 +08:00
# command: command
2024-09-02 15:22:11 +08:00
container_name: u22
2024-09-02 15:47:27 +08:00
image: ubuntu-systemd:22.04
2022-11-27 22:22:10 +08:00
restart: always
2024-09-02 15:19:23 +08:00
# ports:
# - 3111-3222:3111-3222
# networks:
# - local
privileged: true
network_mode: host
2024-09-02 15:47:27 +08:00
build:
context: .
2022-11-27 22:22:10 +08:00
volumes:
2024-09-02 15:19:23 +08:00
- ${ROOT_DIR}:/root
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
2024-09-02 15:47:27 +08:00
# command: ['tail', '-f', '/dev/null']