services: app: image: 'nginx' labels: - traefik.http.middlewares.custom-auth.basicauth.users=test:$2y$12$ci.4U63YX83CwkyUrjqxAucnmi2xXOIlEF6T/KdP9824f1Rf1iyNG volumes: - 'postgres_data:/var/lib/postgresql/data' app2: image: 'nginx' app3: image: 'nginx'