diff --git a/.gitignore b/.gitignore index c3e45fa..612eeb0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +certs *.exe /telebitd /cmd/telebitd/telebitd diff --git a/.ignore b/.ignore index 22d0d82..10e8d7a 100644 --- a/.ignore +++ b/.ignore @@ -1 +1,2 @@ vendor +go.sum diff --git a/rvpn-docker/docker-compose.yml b/rvpn-docker/docker-compose.yml index 1dbc5ec..218c81a 100644 --- a/rvpn-docker/docker-compose.yml +++ b/rvpn-docker/docker-compose.yml @@ -1,15 +1,13 @@ version: '2.0' -services: +services: rvpn: build: rvpn/. ports: - "8443:8443" - entrypoint: - - ./start.sh + entrypoint: + - go build -mod vendor ./cmd/telebitd/ && ./telebitd expose: - "8843" volumes: - $GOPATH/:/go - - ../:/go-rvpn-server - - + - ../:/go-telebitd diff --git a/start.sh b/start.sh deleted file mode 100755 index 98189e3..0000000 --- a/start.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -go build && ./go-rvpn-server - -