55 lines
1.3 KiB
YAML
Executable file
55 lines
1.3 KiB
YAML
Executable file
version: "2.2"
|
|
services:
|
|
|
|
postgress:
|
|
image: postgres:15
|
|
container_name: postgress
|
|
hostname: postgress
|
|
volumes:
|
|
- /DockerVol/joplindb:/var/lib/postgresql/data
|
|
ports:
|
|
- "5432:5432"
|
|
restart: unless-stopped
|
|
networks:
|
|
- netgrimoire
|
|
environment:
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_DB=joplin
|
|
- PUID=999
|
|
- PGID=1001
|
|
- TZ=America/Chicago
|
|
|
|
joplin:
|
|
container_name: joplin
|
|
hostname: joplin
|
|
#image: joplin/server:latest
|
|
image: joplin/server:2.9-beta
|
|
depends_on:
|
|
- postgress
|
|
ports:
|
|
- "22300:22300"
|
|
restart: unless-stopped
|
|
networks:
|
|
- netgrimoire
|
|
environment:
|
|
- PUID=999
|
|
- PGID=1001
|
|
- TZ=America/Chicago
|
|
- APP_PORT=22300
|
|
- APP_BASE_URL=https://joplin.netgrimoire.com
|
|
- DB_CLIENT=pg
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_DATABASE=joplin
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PORT=5432
|
|
- POSTGRES_HOST=postgress
|
|
- MAILER_ENABLED=0
|
|
- MAILER_HOST=smtp.gmail.com
|
|
- MAILER_PORT=465
|
|
- MAILER_SECURE=0
|
|
- MAILER_AUTH_USER=youremail@gmail.com
|
|
- MAILER_AUTH_PASSWORD=Y0urP@ssw0rd
|
|
- MAILER_NOREPLY_NAME=Joplin
|
|
- MAILER_NOREPLY_EMAIL=email@email.com
|
|
|