flutter-vienna-hackathon-25/wien_talks/wien_talks_server
Max R. Carrara 9d1a61885c server: docker: fix traefik not being able to discover server
tl;dr: Since the server is in both the postgres instance's isolated
"backend" network and the public-facing "docker-net", traefik
unfortunately happened to decide to use the "backend" network for its
proxying purposes. This led to the server not being reachable at all.

This commit fixes that by explicitly telling traefik which network to
use.

Signed-off-by: Max R. Carrara <max@aequito.sh>
2025-08-16 22:52:06 +02:00
..
bin reinit as serverpod project 2025-08-16 11:58:34 +02:00
config reinit as serverpod project 2025-08-16 11:58:34 +02:00
deploy reinit as serverpod project 2025-08-16 11:58:34 +02:00
env.d server: make/docker: add deployment procedures 2025-08-16 18:48:34 +02:00
lib regenerate endpoint source 2025-08-16 19:37:06 +02:00
migrations regenerate endpoint source 2025-08-16 19:37:06 +02:00
test/integration/test_tools regenerate endpoint source 2025-08-16 19:37:06 +02:00
web reinit as serverpod project 2025-08-16 11:58:34 +02:00
.env.template make: add compose file and make targets for local dev container 2025-08-16 14:51:57 +02:00
.gcloudignore reinit as serverpod project 2025-08-16 11:58:34 +02:00
.gitignore rename android pkg, ignore client secrets 2025-08-16 15:47:46 +02:00
analysis_options.yaml reinit as serverpod project 2025-08-16 11:58:34 +02:00
CHANGELOG.md reinit as serverpod project 2025-08-16 11:58:34 +02:00
dart_test.yaml reinit as serverpod project 2025-08-16 11:58:34 +02:00
docker-compose.deploy.yaml server: docker: fix traefik not being able to discover server 2025-08-16 22:52:06 +02:00
docker-compose.local.yaml make: add compose file and make targets for local dev container 2025-08-16 14:51:57 +02:00
Dockerfile server: dockerfile: fix broken ENTRYPOINT from generated project 2025-08-16 18:48:34 +02:00
Makefile server: make/docker: add deployment procedures 2025-08-16 18:48:34 +02:00
pubspec.lock add auth module 2025-08-16 14:04:53 +02:00
pubspec.yaml add auth module 2025-08-16 14:04:53 +02:00
README.md readme: update readme 2025-08-16 15:04:06 +02:00

wien_talks_server

Local Development Environment

Setting up a local postgres container, run the following:

make local

This will first create an .env file with default values and then launch the container.

You can then launch the Serverpod server like so:

dart bin/main.dart

If your database schema isn't initialized yet, you will have to run the following:

dart bin/main.dart --apply-migrations

See the Makefile for all targets.

Passwords

The password used in your environment files (.env for local development and env.d/postgres.env.template for deployment) must correspond to the password in config/passwords.yaml.

The config/passwords.yaml file must be created manually at the moment; for example:

development:
  database: your-password-here