23 lines
494 B
YAML
23 lines
494 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
|
||
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
||
|
environment:
|
||
|
APP_ADDRESS: 0.0.0.0:3111
|
||
|
# command: ['tail', '-f', '/dev/null']
|