version: '3.7' services: go: environment: http_proxy: ${http_proxy} https_proxy: ${https_proxy} ELASTIC_URL: ${ELASTIC_URL} ELASTIC_PORT: ${ELASTIC_PORT} KIBANA_PORT: ${KIBANA_PORT} build: context: . args: - http_proxy - https_proxy - no_proxy - ELASTIC_URL - ELASTIC_PORT - KIBANA_PORT tty: true init: true user: $UID:$GID stdin_open: true volumes: - $WORK:/work/ - $CORPUS_RESOURCES:/corpus-resources/ - $SISYPHE_OUT:/app/out/ - $SISYPHE_LOG:/var/log - /etc/group:/etc/group:ro - /etc/passwd:/etc/passwd:ro - /etc/shadow:/etc/shadow:ro - $HOME:$HOME