version: '3.2' services: gomodproxy: image: registry.connectone.pro/github/gomodproxy:latest restart: unless-stopped ports: - "9030:8080" volumes: - type: bind source: ./cache target: /cache bind: propagation: shared - type: bind source: ./keys target: /root/.ssh bind: propagation: shared environment: GIT_USER: ${GIT_USER} GIT_PASS: ${GIT_PASS} command: - /opt/app/gomodproxy - --dir - /cache - --addr - :8080 - -git - gitlab.connectone.pro:/root/.ssh/id_rsa - -git - https://gitlab.connectone.pro:${GIT_USER}:${GIT_PASS}