networks: traefik_network: external: true volumes: data: services: website: image: opensecurity/mobile-security-framework-mobsf:latest networks: - traefik_network labels: - "traefik.docker.network=traefik_network" - "traefik.enable=true" - "traefik.http.routers.mobsf.rule=Host(`${MOBSF_FQDN}`)" - "traefik.http.routers.mobsf.entrypoints=websecure" - "traefik.http.routers.mobsf.tls.certresolver=myresolver" - "traefik.http.services.mobsf.loadbalancer.server.port=8000" environment: USE_HOME: /MobSF volumes: - data:/home/mobsf/.MobSF deploy: replicas: 1 restart_policy: condition: any delay: 5s resources: limits: memory: 3G