version: "2.1" services: app_proxy: environment: APP_HOST: $APP_CALIBRE_WEB_IP APP_PORT: $APP_CALIBRE_WEB_PORT calibre-web: image: linuxserver/calibre-web:0.6.18@sha256:f0e848b8c5a28c40eab4b5db88e02a78f8835fff6066b57921b57b2653fb7514 container_name: calibre-web stop_grace_period: 1m environment: - PUID=1000 - PGID=1000 volumes: - ${APP_DATA_DIR}/data/config:/config - ${APP_DATA_DIR}/data/books:/books restart: on-failure networks: default: ipv4_address: $APP_CALIBRE_WEB_IP