version: "3.5" services: dachs: container_name: ${CONTAINER_NAME} image: ${CONTAINER_NAME} tty: true expose: - "${DACHS_PORT}" - "${APACHE_PORT}" - "22" ports: - "2222:22" - "${DACHS_PORT}:${DACHS_PORT}" - "${APACHE_PORT}:${APACHE_PORT}" build: context: . dockerfile: dachs-dockerfile args: - "VERSION=${VERSION}" - "GITREPO_SERVER=${GITREPO_SERVER}" - "GITREPO_INSTITUTION=${GITREPO_INSTITUTION}" - "DACHS_PORT=${DACHS_PORT}" - "APACHE_PORT=${APACHE_PORT}" - "SERVERNAME=${SERVERNAME}" - "DOMAIN=${DOMAIN}" - "PROTOCOL=${PROTOCOL}" volumes: - ../apache/logapache:/var/log/apache2 - ../apache/dachslogs:/var/gavo/logs # example if you need to mount volumes (e.g if your service needs to parse files or if you want to upload it through dachs) #- path/to/data:/var/gavo/inputs/<>/data restart: always