Deletes old docker-compose and adds a port to auth-service

This commit is contained in:
GabrielMeyer 2020-11-24 16:38:07 +01:00
parent b2215131a4
commit c62cc7851d
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 env_file: services.env
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: