You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
883 B
30 lines
883 B
version: '3'
|
|
|
|
services:
|
|
db:
|
|
image: postgres:15
|
|
volumes:
|
|
- ./data/postgres:/var/lib/postgresql/data
|
|
ports:
|
|
- "5432:5432"
|
|
restart: unless-stopped
|
|
environment:
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
- POSTGRES_DB=${POSTGRES_DATABASE}
|
|
app:
|
|
image: laurent22/joplin-server:latest
|
|
depends_on:
|
|
- db
|
|
ports:
|
|
- "22300:22300"
|
|
restart: unless-stopped
|
|
environment:
|
|
- APP_PORT=22300
|
|
- APP_BASE_URL=${APP_BASE_URL}
|
|
- DB_CLIENT=pg
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
|
- POSTGRES_DATABASE=${POSTGRES_DATABASE}
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
- POSTGRES_PORT=${POSTGRES_PORT}
|
|
- POSTGRES_HOST=db |