Merge pull request #5722 from GabrielInTheWorld/new-compose

Deletes old docker-compose and adds a port to auth-service
This commit is contained in:
Finn Stutzenstein 2020-11-25 12:14:57 +01:00 committed by GitHub
commit 5019403a8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 48 deletions

View File

@ -1,48 +0,0 @@
version: "3"
services:
datastore-reader:
image: openslides-datastore-reader-dev
volumes:
- ./openslides-datastore-service/shared/shared:/app/shared
- ./openslides-datastore-service/reader/reader:/app/reader
ports:
- "9010:9010"
environment:
- DATASTORE_ENABLE_DEV_ENVIRONMENT=1
datastore-writer:
image: openslides-datastore-writer-dev
volumes:
- ./openslides-datastore-service/shared/shared:/app/shared
- ./openslides-datastore-service/writer/writer:/app/writer
- ./openslides-datastore-service/cli:/app/cli
ports:
- "9011:9011"
environment:
- DATASTORE_ENABLE_DEV_ENVIRONMENT=1
- COMMAND=create_initial_data
- DATASTORE_INITIAL_DATA_FILE=https://raw.githubusercontent.com/OpenSlides/OpenSlides/openslides4-dev/docs/example-data.json
client:
image: openslides-client-dev
volumes:
- ./openslides-client/client/src:/app/src
backend:
image: openslides-backend-dev
volumes:
- ./openslides-backend/openslides_backend:/app/openslides_backend
autoupdate:
image: openslides-autoupdate-dev
volumes:
- ./openslides-autoupdate-service/cmd:/root/cmd
- ./openslides-autoupdate-service/internal:/root/internal
auth:
image: openslides-auth-dev
volumes:
- ./openslides-auth-service/auth/src:/app/src
media:
image: openslides-media-dev
volumes:
- ./openslides-media-service/src:/app/src
haproxy:
image: openslides-haproxy-dev
volumes:
- ./haproxy/src:/usr/local/etc/haproxy

View File

@ -81,6 +81,8 @@ services:
env_file: services.env
volumes:
- ../openslides-auth-service/auth/src:/app/src
ports:
- 9004:9004
cache:
image: redis:latest
media: