version: '3' services: db: image: postgres:15 volumes: - /volume1/docker/joplin/db:/var/lib/postgresql/data restart: unless-stopped environment: - POSTGRES_PASSWORD=postgres - POSTGRES_USER=postgres - POSTGRES_DB=joplin app: image: joplin/server:latest depends_on: - db ports: - "8084:22300" restart: unless-stopped environment: - APP_PORT=22300 - APP_BASE_URL=https://huguettes.freeboxos.fr/joplin/ - DB_CLIENT=pg - POSTGRES_PASSWORD=postgres - POSTGRES_DATABASE=joplin - POSTGRES_USER=postgres - POSTGRES_PORT=5432 - POSTGRES_HOST=db - MAILER_ENABLED=1 - MAILER_HOST=smtp-mail.outlook.com - MAILER_PORT=587 - MAILER_SECURE=1 - MAILER_AUTH_USER=lecoiffiermathieu@outlook.fr - MAILER_AUTH_PASSWORD=I9OKN?./ volumes: joplindb: