De-scope - remove swagger docs and http proxy

HTTP proxy was becoming annoying to maintain, and gRPC is easier to use anyway

swagger docs are just part of the fallout
This commit is contained in:
Marc Di Luzio 2020-07-10 00:12:35 +01:00
parent bffe539d77
commit 7d780d05bd
4 changed files with 3 additions and 38 deletions

View file

@ -4,16 +4,6 @@ volumes:
persistent-data:
services:
rove-docs:
build:
context: .
dockerfile: Dockerfile.docs
image: rove-docs:latest
ports:
- "80:80"
environment:
- PORT=80
rove-server:
build:
context: .
@ -30,29 +20,15 @@ services:
- persistent-data:/mnt/rove-server:rw
command: [ "./rove-server"]
rove:
depends_on: [ rove-server, rove-docs ]
build:
context: .
dockerfile: Dockerfile
image: rove:latest
ports:
- "8080:8080"
environment:
- PORT=8080
- ROVE_GRPC=rove-server:9090
command: [ "./script/wait-for-it.sh", "rove-server:9090", "--", "./rove-server-rest-proxy" ]
rove-tests:
depends_on: [ rove ]
depends_on: [ rove-server ]
build:
context: .
dockerfile: Dockerfile
image: rove:latest
environment:
- ROVE_HTTP=rove
- ROVE_GRPC=rove-server
command: [ "./script/wait-for-it.sh", "rove:8080", "--", "go", "test", "-v", "./...", "--tags=integration", "-cover", "-coverprofile=/mnt/coverage-data/c.out", "-count", "1" ]
command: [ "./script/wait-for-it.sh", "rove-server:9090", "--", "go", "test", "-v", "./...", "--tags=integration", "-cover", "-coverprofile=/mnt/coverage-data/c.out", "-count", "1" ]
volumes:
- /tmp/coverage-data:/mnt/coverage-data:rw