github.com/defang-io/defang/src@v0.0.0-20240505002154-bdf411911834/tests/alttestproj/altcomp.yaml (about) 1 name: tests 2 services: 3 dfnx: 4 restart: unless-stopped 5 build: 6 context: . 7 dockerfile: Dockerfile 8 target: alttestproj 9 args: 10 DNS: dfnx 11 deploy: 12 resources: 13 limits: 14 cpus: '0.50' 15 memory: 512M 16 reservations: 17 cpus: '0.25' 18 memory: 256M 19 ports: 20 - target: 80 21 mode: ingress 22 - target: 1234 23 # mode: host 24 secrets: 25 - dummy 26 healthcheck: 27 test: ["CMD", "curl", "-f", "http://localhost/"] 28 # disable: true 29 30 # dfnx: 31 # build: 32 # context: . 33 # dockerfile: Dockerfile.dfn 34 # ports: 35 # - 80 36 37 echo: 38 image: ealen/echo-server 39 ports: 40 - target: 80 41 mode: ingress 42 healthcheck: 43 test: ["CMD", "curl", "-f", "http://localhost/"] 44 # domainname: echotest.gnafed.click 45 profiles: 46 - donotstart 47 x-defang-dns-role: arn:aws:iam::123456789012:role/ecs-service-role 48 x-defang-static: ./static 49 50 secrets: 51 dummy: 52 external: true 53 name: dummy 54 55 x-unsupported: unsupported