version: "3" services: server: hostname: autossh.sweet.home image: farmcoolcow/autossh # build: # context: . # dockerfile: Dockerfile # volumes: # - .:/etc/unbound/unbound.conf.d restart: always # network_mode: host # privileged: true labels: - "io.portainer.accesscontrol.public" ports: - 80:80 - 443:443 command: - -R nextcloud.lan.ddnsgeek.com:80:localhost:8083 \ -E /home/wayne/ssh_log_file.log" \ -o "ServerAliveInterval 10" \ -o "ServerAliveCountMax 3" \ -i /home/wayne/.ssh/id_rsa \ -N -f serveo.net environment: - AUTOSSH_DEBUG=1 - AUTOSSH_LOGFILE=/home/wayne/autossh_log_file.log volumes: - ./install:/install