mirror of
https://github.com/supabase/supabase.git
synced 2026-05-11 10:49:48 +08:00
Making the db use an anon volume will cause data loss - all persisted data (db, storage, etc.) should be preserved even if the user does `docker system prune`. Instead use [Compose overrides](https://docs.docker.com/compose/extends/#adding-and-overriding-configuration) for dev mode.
21 lines
403 B
YAML
21 lines
403 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
mail:
|
|
container_name: supabase-mail
|
|
image: inbucket/inbucket:stable
|
|
ports:
|
|
- '2500:2500' # SMTP
|
|
- '9000:9000' # web interface
|
|
- '1100:1100' # POP3
|
|
meta:
|
|
ports:
|
|
- 5555:8080
|
|
db:
|
|
volumes:
|
|
- /var/lib/postgresql/data
|
|
- ./dev/data.sql:/docker-entrypoint-initdb.d/data.sql
|
|
storage:
|
|
volumes:
|
|
- /var/lib/storage
|