Ocelot-Social/docker-compose.override.yml
Robert Schäfer 290a176407
refactor(backend): types for global config (#8485)
* refactor(backend): types for global config

I saw merge conflicts in these files for #8463 so let's get some parts of this PR into `master` already.

I believe this fixes a small bug. They guard clause didn't ensure that all of REDIS_ configurations were set.

* remove old email mechanism

* refactor(backend: react to @ulfgebhardt's review

See: https://github.com/Ocelot-Social-Community/Ocelot-Social/pull/8485#pullrequestreview-2813528327

* build(backend): optional commit

@ulfgebhardt this is how I tested the configurations. We don't need to include this commit but I wouldn't expect to send out real emails from a `docker-compose` setup.

---------

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2025-05-07 15:57:35 +02:00

49 lines
1.1 KiB
YAML

services:
webapp:
image: ghcr.io/ocelot-social-community/ocelot-social/webapp:local-development
build:
target: development
environment:
- NODE_ENV="development"
# - DEBUG=true
- NUXT_BUILD=/tmp/nuxt # avoid file permission issues when `rm -rf .nuxt/`
volumes:
- ./webapp:/app
frontend:
image: ghcr.io/ocelot-social-community/ocelot-social/frontend:local-development
build:
target: development
environment:
- NODE_ENV=development
ports:
# port required for npm run dev
- 24678:24678
volumes:
- ./frontend:/app
backend:
image: ghcr.io/ocelot-social-community/ocelot-social/backend:local-development
build:
target: development
environment:
- NODE_ENV="development"
- DEBUG=true
- SMTP_PORT=1025
- SMTP_HOST=mailserver
volumes:
- ./backend:/app
neo4j:
ports:
# Also expose the neo4j query browser
- 7474:7474
mailserver:
image: maildev/maildev
container_name: mailserver
ports:
- 1080:1080
- 1025:1025