services: script: image: 'ubuntu:21.04' working_dir: /path/to/where/you/want/to/mount/script/ volumes: - '/data/schule/:/data/schule/' command: - 'bash /data/schule/startup.sh' ports: - '22:22'