chore: add docker-compose.yml
This commit is contained in:
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
command:
|
||||
- /opt/app/gomodproxy
|
||||
- --dir
|
||||
- /cache
|
||||
- --addr
|
||||
- :8080
|
||||
|
||||
Reference in New Issue
Block a user