diff --git a/.goreleaser.yaml b/.goreleaser.yaml index f6ff43c..b3f549e 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -54,8 +54,7 @@ kos: - "{{if not .Prerelease}}stable{{end}}" creation_time: "{{.CommitTimestamp}}" ko_data_creation_time: "{{.CommitTimestamp}}" - bare: true - preserve_import_paths: true + preserve_import_paths: false base_import_paths: true - id: todo-list build: client @@ -72,8 +71,7 @@ kos: - "{{if not .Prerelease}}stable{{end}}" creation_time: "{{.CommitTimestamp}}" ko_data_creation_time: "{{.CommitTimestamp}}" - bare: true - preserve_import_paths: true + preserve_import_paths: false base_import_paths: true archives: diff --git a/docker-compose.yml b/docker-compose.yml index ddfab0e..2c094f1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -69,5 +69,20 @@ services: urls: ["http://redpanda-0:9644"] ports: - 8080:8080 + depends_on: + - redpanda-0 + todo-app: + container_name: todo-app-server + image: ghcr.io/kameshsampath/grpc-todo-app/server:v0.0.1 + networks: + - redpanda_network + environment: + - PORT=9090 + - BROKERS=redpanda-0:19092 + - TOPICS=todo-list + - ENV=dev + - CONSUMER_GROUP_ID=grpc-todo-app + ports: + - 9090:9090 depends_on: - redpanda-0 \ No newline at end of file