Files
joplin/docker-compose.server-dev.yml
T

28 lines
683 B
YAML
Raw 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
version: '3'
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