version: '3' services: www: build: context: ./ dockerfile: ./Dockerfile tty: true ports: - 0.0.0.0:8282:22 - 8280:80 - 8281:443 - 8283:10000 # Fallback if systemd is not working # command: '/bin/bash -c "trap : TERM INT; sleep infinity & wait"' # To debug systemd # command: "/sbin/init --log-target=console --log-level=debug --crash-shell" # Production command command: "/sbin/init --log-target=console" environment: # container: docker container: podman # volumes: # - /sys/fs/cgroup:/sys/fs/cgroup # tmpfs: # - /tmp # - /var/run # - /var/cache