ubuntu/docker-compose.u22.yaml

23 lines
494 B
YAML
Raw Normal View History

2024-09-02 18:41:58 +08:00
services:
u22:
# command: command
container_name: u22
image: ubuntu-systemd:22.04
restart: always
hostname: u22
# ports:
# - 3111-3222:3111-3222
# networks:
# - local
privileged: true
network_mode: host
build:
context: .
volumes:
- ${ROOT_DIR}:/root
- /etc/localtime:/etc/localtime:ro
- /sys/fs/cgroup:/sys/fs/cgroup:ro
environment:
APP_ADDRESS: 0.0.0.0:3111
# command: ['tail', '-f', '/dev/null']