mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-09 14:08:03 -05:00
22 lines
690 B
YAML
22 lines
690 B
YAML
# docker-compose.yml
|
|
# This configuration is for local debugging only.
|
|
# - PostgreSQL is bound to localhost (127.0.0.1) and not exposed externally.
|
|
# - Data is persisted to ./db relative to current directory.
|
|
# - No production security settings are applied.
|
|
# The access url is postgresql://dev:dev@localhost:5432/devdb
|
|
|
|
version: '3.8'
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres
|
|
container_name: local_postgres
|
|
environment:
|
|
POSTGRES_USER: dev
|
|
POSTGRES_PASSWORD: dev
|
|
POSTGRES_DB: scroll
|
|
ports:
|
|
- "127.0.0.1:5432:5432" # Listen only on localhost
|
|
# volumes:
|
|
# - ./db:/var/lib/postgresql/data # Persist data to local ./db
|
|
restart: unless-stopped |