commit a85fa19684bcb5cbb14ea49be092de58877e1c11 Author: paulmataruso Date: Fri Oct 18 21:46:59 2024 +0000 First Upload diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..7418335 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,41 @@ +version: '3' + +services: + db: + image: postgres:15 + volumes: + - /docker/joplindb:/var/lib/postgresql/data + ports: + - "5432:5432" + restart: unless-stopped + environment: + - POSTGRES_PASSWORD=postgres + - POSTGRES_USER=postgres + - POSTGRES_DB=joplin + app: + image: joplin/server:latest + depends_on: + - db + ports: + - "22300:22300" + restart: unless-stopped + environment: + - APP_PORT=22300 + - APP_BASE_URL=http://notes.dhitechnical.com + - DB_CLIENT=pg + - POSTGRES_PASSWORD=postgres + - POSTGRES_DATABASE=joplin + - POSTGRES_USER=postgres + - POSTGRES_PORT=5432 + - POSTGRES_HOST=db + - MAILER_ENABLED=1 + - MAILER_HOST=172.16.1.4 + - MAILER_PORT=25 + - MAILER_SECURE=0 + - MAILER_AUTH_USER=paulmataruso@dhitechnical.com + - MAILER_AUTH_PASSWORD=Gx180d132!23456 + - MAILER_NOREPLY_NAME=Joplin + - MAILER_NOREPLY_EMAIL=paulmataruso@dhitechnical.com + +volumes: + joplindb: