pokeapi Docker & Self-Hosted Deployment

GitHub

Python api & beginner-friendly repository by @PokeAPI. Model Context Protocol (MCP) server & tools with 5.3k stars.

5,289 stars Python Python 1 file Β· ~3,472 tokens #api#beginner-friendly#graphql#hacktoberfest#pokeapi#pokemon
RAW Compose
1. Pull Image (DOCKERHUB) docker pull pokeapi/pokeapi
2. Docker Run (1-Click Launch) docker run -d --name pokeapi --restart always pokeapi/pokeapi:master
3. Podman Run podman run -d --name pokeapi --restart always pokeapi/pokeapi:master
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/pokeapi/pokeapi:master
5. ORAS Pull (OCI Artifact) oras pull pokeapi/pokeapi:master
6. Compose Deployment docker compose up -d
Resources/compose/docker-compose-prod-graphql.yml
Download .yml
services:
  cache:
    restart: "no"

  app:
    image: pokeapi/pokeapi:master
    env_file: .env
    restart: "no"

  web:
    depends_on:
      graphiql:
        condition: service_started
      graphql-engine:
        condition: service_healthy
    logging:
      driver: gcplogs
      options:
        gcp-project: 'pokeapi-215911'

  graphql-engine:
    cpus: 0.7
    memswap_limit: 3g
    mem_limit: 700m
    environment:
      HASURA_GRAPHQL_SCHEMA_SYNC_POLL_INTERVAL: 0
      HASURA_GRAPHQL_EVENTS_HTTP_POOL_SIZE: 10
      HASURA_GRAPHQL_ENABLE_CONSOLE: "true"

  graphiql:
    image: pokeapi/graphiql:v1beta2-2.1.0
    expose:
      - 80
    depends_on:
      - graphql-engine
    restart: always