29 lines
634 B
YAML
29 lines
634 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
|
|
command:
|
|
- /opt/app/gomodproxy
|
|
- --dir
|
|
- /cache
|
|
- --addr
|
|
- :8080
|
|
- -git
|
|
- gitlab.connectone.pro/:/root/.ssh/id_rsa
|
|
- -git
|
|
- gitlab.connectone.pro/:goproxy:glpat-_4p1YmfjcMsxdfXnayLm |