ubuntu/docker-compose.yaml
2024-09-02 16:03:04 +08:00

21 lines
433 B
YAML

services:
u22:
# command: command
container_name: u22
image: ubuntu-systemd:22.04
restart: always
# ports:
# - 3111-3222:3111-3222
# networks:
# - local
privileged: true
network_mode: host
build:
context: .
volumes:
- ${ROOT_DIR}:/root
- /etc/localtime:/etc/localtime:ro
environment:
APP_ADDRESS: 0.0.0.0:3111
command: ['tail', '-f', '/dev/null']