NOISSUE - Remove authz from docker comp (#1307)

* remove owner id

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* remove authz from docker

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* revert init.go

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
This commit is contained in:
Mirko Teodorovic 2020-12-16 18:15:27 +01:00 committed by GitHub
parent c7d2feb434
commit 8aadc0ff40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 41 deletions

View File

@ -94,47 +94,6 @@ services:
networks:
- mainflux-base-net
authz:
image: mainflux/authz:latest
container_name: mainflux-authz
depends_on:
- authz-db
expose:
- ${MF_AUTHZ_GRPC_PORT}
restart: on-failure
environment:
MF_AUTHZ_LOG_LEVEL: ${MF_AUTHZ_LOG_LEVEL}
MF_AUTHZ_DB_HOST: authz-db
MF_AUTHZ_DB_PORT: ${MF_AUTHZ_DB_PORT}
MF_AUTHZ_DB_USER: ${MF_AUTHZ_DB_USER}
MF_AUTHZ_DB_PASS: ${MF_AUTHZ_DB_PASS}
MF_AUTHZ_DB: ${MF_AUTHZ_DB}
MF_AUTHZ_HTTP_PORT: ${MF_AUTHZ_HTTP_PORT}
MF_AUTHZ_GRPC_PORT: ${MF_AUTHZ_GRPC_PORT}
MF_AUTHZ_SECRET: ${MF_AUTHZ_SECRET}
MF_JAEGER_URL: ${MF_JAEGER_URL}
MF_AUTHZ_MODEL_CONF: ${MF_AUTHZ_MODEL_CONF}
ports:
- ${MF_AUTHZ_HTTP_PORT}:${MF_AUTHZ_HTTP_PORT}
- ${MF_AUTHZ_GRPC_PORT}:${MF_AUTHZ_GRPC_PORT}
volumes:
- ./docker/policy/model.conf:${MF_AUTHZ_MODEL_CONF}
networks:
- mainflux-base-net
authz-db:
image: postgres:10.8-alpine
container_name: mainflux-authz-db
restart: on-failure
environment:
POSTGRES_USER: ${MF_AUTHZ_DB_USER}
POSTGRES_PASSWORD: ${MF_AUTHZ_DB_PASS}
POSTGRES_DB: ${MF_AUTHZ_DB}
networks:
- mainflux-base-net
volumes:
- mainflux-authz-db-volume:/var/lib/postgresql/data
users-db:
image: postgres:10.8-alpine
container_name: mainflux-users-db