version: "3.8" services: app: image: nginx:1.29-alpine volumes: - /home/elevar/quanto/html:/usr/share/nginx/html:ro networks: - elevarnet deploy: replicas: 1 restart_policy: condition: on-failure labels: traefik.enable: "true" traefik.swarm.network: elevarnet traefik.http.routers.quanto.entrypoints: websecure traefik.http.routers.quanto.priority: "100" traefik.http.routers.quanto.rule: Host(`quantum.paulononato.com.br`) traefik.http.routers.quanto.service: quanto traefik.http.routers.quanto.tls: "true" traefik.http.routers.quanto.tls.certresolver: letsencryptresolver traefik.http.services.quanto.loadbalancer.passHostHeader: "true" traefik.http.services.quanto.loadbalancer.server.port: "80" api: image: quanto-api:local environment: AWS_ACCESS_KEY_ID: test AWS_SECRET_ACCESS_KEY: test AWS_DEFAULT_REGION: us-east-1 LOCALSTACK_ENDPOINT: https://localstack.paulononato.com.br PROJECT_NAME: quantum QUANTUM_ENV: dev networks: - elevarnet deploy: replicas: 1 restart_policy: condition: on-failure labels: traefik.enable: "true" traefik.swarm.network: elevarnet traefik.http.routers.quanto-api.entrypoints: websecure traefik.http.routers.quanto-api.priority: "200" traefik.http.routers.quanto-api.rule: Host(`quantum.paulononato.com.br`) && PathPrefix(`/api`) traefik.http.routers.quanto-api.service: quanto-api traefik.http.routers.quanto-api.tls: "true" traefik.http.routers.quanto-api.tls.certresolver: letsencryptresolver traefik.http.services.quanto-api.loadbalancer.passHostHeader: "true" traefik.http.services.quanto-api.loadbalancer.server.port: "8080" networks: elevarnet: external: true