gomodproxy/docker-compose.yml
2022-03-03 23:01:25 +03:00

32 lines
678 B
YAML

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_PASS: ""
command:
- /opt/app/gomodproxy
- --dir
- /cache
- --addr
- :8080
- -git
- gitlab.connectone.pro/:/root/.ssh/id_rsa
- -git
- gitlab.connectone.pro/:${GIT_USER}:${GIT_PASS}