2020-10-05 10:43:43 +02:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
datastore-reader:
|
|
|
|
image: openslides-datastore-reader-dev
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
env_file: services.env
|
|
|
|
environment:
|
2020-11-03 15:22:24 +01:00
|
|
|
- DATASTORE_ENABLE_DEV_ENVIRONMENT=1
|
2020-10-05 10:43:43 +02:00
|
|
|
- NUM_WORKERS=8
|
2021-04-01 09:05:07 +02:00
|
|
|
- OPENSLIDES_DEVELOPMENT=1
|
2020-10-05 10:43:43 +02:00
|
|
|
volumes:
|
2021-07-08 09:06:36 +02:00
|
|
|
- ../openslides-datastore-service/datastore:/app/datastore
|
2021-06-28 12:42:33 +02:00
|
|
|
ports:
|
|
|
|
- 9010:9010
|
2021-08-20 10:52:42 +02:00
|
|
|
|
2020-10-05 10:43:43 +02:00
|
|
|
datastore-writer:
|
|
|
|
image: openslides-datastore-writer-dev
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
- message-bus
|
|
|
|
env_file: services.env
|
|
|
|
volumes:
|
2021-07-08 09:06:36 +02:00
|
|
|
- ../openslides-datastore-service/datastore:/app/datastore
|
2020-10-05 10:43:43 +02:00
|
|
|
- ../openslides-datastore-service/cli:/app/cli
|
|
|
|
environment:
|
|
|
|
- DATASTORE_ENABLE_DEV_ENVIRONMENT=1
|
|
|
|
- COMMAND=create_initial_data
|
2021-08-20 10:52:42 +02:00
|
|
|
- DATASTORE_INITIAL_DATA_FILE=https://raw.githubusercontent.com/OpenSlides/OpenSlides/master/docs/example-data.json
|
2021-04-01 09:05:07 +02:00
|
|
|
- OPENSLIDES_DEVELOPMENT=1
|
2021-05-31 09:14:47 +02:00
|
|
|
ports:
|
|
|
|
- 9011:9011
|
2021-06-27 16:02:50 +02:00
|
|
|
|
2020-10-05 10:43:43 +02:00
|
|
|
postgres:
|
|
|
|
image: postgres:11
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=openslides
|
|
|
|
- POSTGRES_PASSWORD=openslides
|
|
|
|
- POSTGRES_DB=openslides
|
2021-06-27 16:02:50 +02:00
|
|
|
|
2020-10-05 10:43:43 +02:00
|
|
|
client:
|
|
|
|
image: openslides-client-dev
|
|
|
|
depends_on:
|
|
|
|
- backend
|
|
|
|
- autoupdate
|
|
|
|
env_file: services.env
|
2021-04-01 09:05:07 +02:00
|
|
|
environment:
|
|
|
|
- OPENSLIDES_DEVELOPMENT=1
|
2020-10-05 10:43:43 +02:00
|
|
|
volumes:
|
|
|
|
- ../openslides-client/client/src:/app/src
|
2021-06-27 16:02:50 +02:00
|
|
|
|
2020-10-05 10:43:43 +02:00
|
|
|
backend:
|
|
|
|
image: openslides-backend-dev
|
|
|
|
depends_on:
|
|
|
|
- datastore-reader
|
|
|
|
- datastore-writer
|
2020-07-30 08:57:57 +02:00
|
|
|
- auth
|
2020-10-05 10:43:43 +02:00
|
|
|
env_file: services.env
|
2021-04-01 09:05:07 +02:00
|
|
|
environment:
|
|
|
|
- OPENSLIDES_DEVELOPMENT=1
|
2021-10-22 13:08:58 +02:00
|
|
|
- EMAIL_HOST=mailhog
|
|
|
|
- EMAIL_PORT=1025
|
|
|
|
# - EMAIL_HOST_USER username
|
|
|
|
# - EMAIL_HOST_PASSWORD secret
|
|
|
|
# EMAIL_CONNECTION_SECURITY use NONE, STARTTLS or SSL/TLS
|
|
|
|
- EMAIL_CONNECTION_SECURITY=NONE
|
|
|
|
- EMAIL_TIMEOUT=5
|
|
|
|
- EMAIL_ACCEPT_SELF_SIGNED_CERTIFICATE=false
|
|
|
|
- DEFAULT_FROM_EMAIL=noreply@example.com
|
2020-10-05 10:43:43 +02:00
|
|
|
volumes:
|
2020-10-28 13:11:26 +01:00
|
|
|
- ../openslides-backend/openslides_backend:/app/openslides_backend
|
2021-08-17 09:05:34 +02:00
|
|
|
- ../openslides-backend/migrations:/app/migrations
|
2021-06-27 16:02:50 +02:00
|
|
|
|
2020-10-05 10:43:43 +02:00
|
|
|
autoupdate:
|
|
|
|
image: openslides-autoupdate-dev
|
|
|
|
depends_on:
|
|
|
|
- datastore-reader
|
|
|
|
- message-bus
|
|
|
|
env_file: services.env
|
2021-04-01 09:05:07 +02:00
|
|
|
environment:
|
|
|
|
- OPENSLIDES_DEVELOPMENT=1
|
2020-10-05 10:43:43 +02:00
|
|
|
volumes:
|
|
|
|
- ../openslides-autoupdate-service/cmd:/root/cmd
|
|
|
|
- ../openslides-autoupdate-service/internal:/root/internal
|
2021-06-27 16:02:50 +02:00
|
|
|
- ../openslides-autoupdate-service/pkg:/root/pkg
|
|
|
|
|
|
|
|
icc:
|
|
|
|
image: openslides-icc-dev
|
|
|
|
depends_on:
|
|
|
|
- datastore-reader
|
|
|
|
- message-bus
|
|
|
|
- auth
|
|
|
|
env_file: services.env
|
|
|
|
environment:
|
|
|
|
- OPENSLIDES_DEVELOPMENT=1
|
|
|
|
volumes:
|
|
|
|
- ../openslides-icc-service/cmd:/root/cmd
|
|
|
|
- ../openslides-icc-service/internal:/root/internal
|
|
|
|
|
2020-10-05 10:43:43 +02:00
|
|
|
auth:
|
|
|
|
image: openslides-auth-dev
|
|
|
|
depends_on:
|
|
|
|
- datastore-reader
|
|
|
|
- cache
|
|
|
|
env_file: services.env
|
2021-04-01 09:05:07 +02:00
|
|
|
environment:
|
|
|
|
- OPENSLIDES_DEVELOPMENT=1
|
2020-10-05 10:43:43 +02:00
|
|
|
volumes:
|
|
|
|
- ../openslides-auth-service/auth/src:/app/src
|
2021-06-27 16:02:50 +02:00
|
|
|
|
2020-10-05 10:43:43 +02:00
|
|
|
cache:
|
|
|
|
image: redis:latest
|
2021-06-27 16:02:50 +02:00
|
|
|
|
2020-10-05 10:43:43 +02:00
|
|
|
media:
|
|
|
|
image: openslides-media-dev
|
|
|
|
depends_on:
|
|
|
|
- backend
|
|
|
|
- postgres
|
|
|
|
env_file: services.env
|
2021-04-01 09:05:07 +02:00
|
|
|
environment:
|
|
|
|
- OPENSLIDES_DEVELOPMENT=1
|
2020-10-05 10:43:43 +02:00
|
|
|
volumes:
|
|
|
|
- ../openslides-media-service/src:/app/src
|
2021-06-27 16:02:50 +02:00
|
|
|
|
2021-03-13 10:31:25 +01:00
|
|
|
manage:
|
|
|
|
image: openslides-manage-dev
|
|
|
|
depends_on:
|
2021-08-20 10:52:42 +02:00
|
|
|
- auth
|
|
|
|
- datastore-writer
|
2021-03-13 10:31:25 +01:00
|
|
|
env_file: services.env
|
2021-04-01 09:05:07 +02:00
|
|
|
environment:
|
|
|
|
- OPENSLIDES_DEVELOPMENT=1
|
2021-03-13 12:50:07 +01:00
|
|
|
ports:
|
2021-08-20 10:52:42 +02:00
|
|
|
- "9008:9008"
|
2021-06-27 16:02:50 +02:00
|
|
|
|
2020-10-05 10:43:43 +02:00
|
|
|
message-bus:
|
|
|
|
image: redis:latest
|
2021-06-27 16:02:50 +02:00
|
|
|
|
2021-03-15 14:17:07 +01:00
|
|
|
proxy:
|
|
|
|
image: openslides-proxy-dev
|
2020-10-05 10:43:43 +02:00
|
|
|
depends_on:
|
|
|
|
- client
|
|
|
|
- backend
|
|
|
|
- autoupdate
|
|
|
|
ports:
|
|
|
|
- "8000:8000"
|
2021-10-22 13:08:58 +02:00
|
|
|
volumes:
|
|
|
|
- ../proxy/Caddyfile.dev:/etc/caddy/Caddyfile
|
|
|
|
|
|
|
|
mailhog:
|
|
|
|
image: mailhog/mailhog
|
|
|
|
logging:
|
|
|
|
driver: 'none' # disable saving logs
|
|
|
|
ports:
|
|
|
|
- "8025:8025" # web ui to check mails manually
|