Giter Club home page Giter Club logo

copilot.rocks's People

Contributors

donnieprakoso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

copilot.rocks's Issues

Manifest file for service discovery-enabled service

Hey @donnieprakoso, I stumbled across your tutorial about deploying apps on ECS using copilot, great stuff!

I was wondering if you could provide the manifest file for app2 from this step of the article, as I'm facing problems setting up service discovery between 2 of my services (a Flask one and a Postgres one).

I did create the service using the wizard, but the resulting manifest file looks like this (after I've added my env variables):

name: pgvector
type: Backend Service

image:
  location: ankane/pgvector

cpu: 256       # Number of CPU units for the task.
memory: 512    # Amount of memory in MiB used by the task.
count: 1       # Number of tasks that should be running in your service.
exec: true     # Enable running commands in your container.

# \/ ADDED BY ME \/
network:
  connect: true

variables:
  POSTGRES_USER: ...
  POSTGRES_PASSWORD: ...
  POSTGRES_DB: ...

The connect: true was added by me, as I've found in the copilot docs.
However, when I run copilot svc show, I do not get the service discovery section as you did in this step.

Have a great weekend,
Gabriel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.