Update manage service

It know has a tunnel command. See

manage help tunnel

for more information and examples.

There is not need to open the ports
This commit is contained in:
Oskar Hahn 2021-05-07 08:14:04 +02:00
parent 3b41fb468e
commit f473796ce6
3 changed files with 5 additions and 10 deletions

3
dev-commands/manage.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
docker build openslides-manage-service/ --target manage --tag openslides-manage
docker run --network host openslides-manage $@

View File

@ -12,8 +12,6 @@ services:
volumes: volumes:
- ../openslides-datastore-service/shared/shared:/app/shared - ../openslides-datastore-service/shared/shared:/app/shared
- ../openslides-datastore-service/reader/reader:/app/reader - ../openslides-datastore-service/reader/reader:/app/reader
ports:
- 9010:9010
datastore-writer: datastore-writer:
image: openslides-datastore-writer-dev image: openslides-datastore-writer-dev
depends_on: depends_on:
@ -29,8 +27,6 @@ services:
- COMMAND=create_initial_data - COMMAND=create_initial_data
- DATASTORE_INITIAL_DATA_FILE=https://raw.githubusercontent.com/OpenSlides/OpenSlides/openslides4-dev/docs/example-data.json - DATASTORE_INITIAL_DATA_FILE=https://raw.githubusercontent.com/OpenSlides/OpenSlides/openslides4-dev/docs/example-data.json
- OPENSLIDES_DEVELOPMENT=1 - OPENSLIDES_DEVELOPMENT=1
ports:
- 9011:9011
postgres: postgres:
image: postgres:11 image: postgres:11
environment: environment:
@ -59,8 +55,6 @@ services:
- OPENSLIDES_DEVELOPMENT=1 - OPENSLIDES_DEVELOPMENT=1
volumes: volumes:
- ../openslides-backend/openslides_backend:/app/openslides_backend - ../openslides-backend/openslides_backend:/app/openslides_backend
ports:
- 5678:5678
autoupdate: autoupdate:
image: openslides-autoupdate-dev image: openslides-autoupdate-dev
depends_on: depends_on:
@ -93,8 +87,6 @@ services:
- OPENSLIDES_DEVELOPMENT=1 - OPENSLIDES_DEVELOPMENT=1
volumes: volumes:
- ../openslides-auth-service/auth/src:/app/src - ../openslides-auth-service/auth/src:/app/src
ports:
- 9004:9004
cache: cache:
image: redis:latest image: redis:latest
media: media:
@ -116,7 +108,7 @@ services:
environment: environment:
- OPENSLIDES_DEVELOPMENT=1 - OPENSLIDES_DEVELOPMENT=1
ports: ports:
- "8001:8001" - "9008:9008"
message-bus: message-bus:
image: redis:latest image: redis:latest
proxy: proxy:

@ -1 +1 @@
Subproject commit d1bd161936e304c18336e3c1cc94609c8b39e952 Subproject commit 869427c0f5b90d45189a075c0f7a04dc066f9e38