services: db: image: postgres:13.1 container_name: joplin-db restart: always volumes: - /mnt/blockstorage-1/joplin/postgres:/var/lib/postgresql/data env_file: - db.env networks: - joplin app: image: joplin/server:latest container_name: joplin-app depends_on: - db restart: always volumes: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro env_file: - app.env networks: - joplin - reverse-proxy networks: joplin: reverse-proxy: external: true