1
0
mirror of https://github.com/laurent22/joplin.git synced 2026-04-24 19:55:13 +02:00
Files

26 lines
669 B
YAML
Raw Permalink Normal View History

# This compose file can be used in development to run both the database and app
# within Docker.
2020-12-28 11:48:47 +00:00
services:
app:
2020-12-28 11:48:47 +00:00
build:
context: .
dockerfile: Dockerfile.server
ports:
- "22300:22300"
environment:
- DB_CLIENT=pg
- POSTGRES_PASSWORD=joplin
- POSTGRES_DATABASE=joplin
- POSTGRES_USER=joplin
- POSTGRES_PORT=5432
- POSTGRES_HOST=db
db:
2023-11-12 16:16:04 +00:00
image: postgres:16
2020-12-28 11:48:47 +00:00
ports:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=joplin
- POSTGRES_USER=joplin
- POSTGRES_DB=joplin