22 lines
451 B
YAML
22 lines
451 B
YAML
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
|
|
environment:
|
|
APP_ADDRESS: 0.0.0.0:3111
|
|
command: ['tail', '-f', '/dev/null']
|