mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-19 20:31:46 +02:00
091bf45149
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
28 lines
690 B
YAML
28 lines
690 B
YAML
# This compose file can be used in development to run both the database and app
|
|
# within Docker.
|
|
|
|
version: '3'
|
|
|
|
services:
|
|
app:
|
|
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=localhost
|
|
db:
|
|
image: postgres:16
|
|
ports:
|
|
- "5432:5432"
|
|
environment:
|
|
- POSTGRES_PASSWORD=joplin
|
|
- POSTGRES_USER=joplin
|
|
- POSTGRES_DB=joplin
|