version: "3.7"

services:
  app_proxy:
    environment:
      APP_HOST: databag_web_1
      APP_PORT: 7000
      
  web:
    image: balzack/databag:0.1.17@sha256:934ef8c1a8b6da5b222dea7d6c6ddc0b5b8c24b314a8038686a98cab14e0466d
    restart: on-failure
    stop_grace_period: 1m
    volumes:
      - ${APP_DATA_DIR}/data/databag:/var/lib/databag
    environment:
      ADMIN: $APP_PASSWORD
