Docker Compose
Note: this code snippet includes a starwars graphql example instance, make sure to replace it with your own service.
-
Create a
docker-compose.yml
fileversion: "3.9" services: starwars: # example instance image: inigohub/starwars sidecar: image: inigohub/sidecar ports: - 80:80 # env_file: .env environment: INIGO_EGRESS_URL: http://starwars:80/query # replace with your GraphQL endpoint INIGO_SERVICE_TOKEN: "YOUR-INIGO-SERVICE-TOKEN" # can be stored in an .env file instead
-
Run the services
docker compose up -d