This commit is contained in:
AJ ONeal 2020-04-28 00:47:31 -06:00
parent eb04ba96c8
commit ef34fefc39
4 changed files with 6 additions and 11 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
certs
*.exe *.exe
/telebitd /telebitd
/cmd/telebitd/telebitd /cmd/telebitd/telebitd

View File

@ -1 +1,2 @@
vendor vendor
go.sum

View File

@ -1,15 +1,13 @@
version: '2.0' version: '2.0'
services: services:
rvpn: rvpn:
build: rvpn/. build: rvpn/.
ports: ports:
- "8443:8443" - "8443:8443"
entrypoint: entrypoint:
- ./start.sh - go build -mod vendor ./cmd/telebitd/ && ./telebitd
expose: expose:
- "8843" - "8843"
volumes: volumes:
- $GOPATH/:/go - $GOPATH/:/go
- ../:/go-rvpn-server - ../:/go-telebitd

View File

@ -1,5 +0,0 @@
#!/bin/bash
go build && ./go-rvpn-server