version: '2.4' services: app: image: 'akhilrex/podgrab:1.0.0' restart: 'always' healthcheck: test: 'curl -f localhost:8080 || exit 1' interval: '1m' timeout: '10s' retries: 3 start_period: '10s' env_file: - '.env' networks: - 'nginx' volumes: - 'config:/config' - 'assets:/assets' networks: nginx: external: true volumes: config: assets: