Deviations from a stock `serverpod create`:
- Dropped Flutter web support, for two reasons:
- Appflowy editor had issues in the past, potentially related to the
Flutter-Web IME bridge. Upstream has also open bugs in relation to
that:
- AppFlowy-IO/appflowy-editor#1029 [Bug][Web] Unwanted space on click
and overall space bugs (open)
- AppFlowy-IO/appflowy-editor#782 [Bug] Editor auto-scrolling when
pressing space too quickly if placed inside a scrollable (open)
- Offline-first is a required feature. serverpod_offline_sync's SQLite
support in browsers, maybe via sqlite3.wasm + OPFS, is not
documented.
- SDK constraints raised to ^3.13.0, instead of ^3.12.2, so enjoy the
newest language features.
- Pinned to Flutter 3.47.4 via FVM.
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
services:
|
|
# Development services
|
|
postgres:
|
|
image: ghcr.io/serverpod/postgres:16
|
|
ports:
|
|
- "8090:5432"
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_DB: halkyon_learn
|
|
POSTGRES_PASSWORD: "zLZiS0hYW86MNDWF3fTB9iYudoEQ4rZG"
|
|
volumes:
|
|
- halkyon_learn_data:/var/lib/postgresql/data
|
|
|
|
redis:
|
|
image: redis:6.2.6
|
|
ports:
|
|
- "8091:6379"
|
|
command: redis-server --requirepass "CaFsHWMa_hwVFcDEVDMRc5nneKiIC1In"
|
|
environment:
|
|
- REDIS_REPLICATION_MODE=master
|
|
|
|
# Test services
|
|
postgres_test:
|
|
image: ghcr.io/serverpod/postgres:16
|
|
ports:
|
|
- "9090:5432"
|
|
environment:
|
|
POSTGRES_USER: postgres
|
|
POSTGRES_DB: halkyon_learn_test
|
|
POSTGRES_PASSWORD: "h8hg2NM2Ho1N7Zv-WxwJyhfJC76hxy6h"
|
|
volumes:
|
|
- halkyon_learn_test_data:/var/lib/postgresql/data
|
|
|
|
redis_test:
|
|
image: redis:6.2.6
|
|
ports:
|
|
- "9091:6379"
|
|
command: redis-server --requirepass "JRcMj86Jrhg4s6soZ_DShJqQilJGzEJo"
|
|
environment:
|
|
- REDIS_REPLICATION_MODE=master
|
|
|
|
volumes:
|
|
halkyon_learn_data:
|
|
halkyon_learn_test_data:
|