Skip to content

🌍 World countries, states, regions, provinces, cities, towns in JSON

Notifications You must be signed in to change notification settings

REALM-CHAT/country-json

 
 

Repository files navigation

malaysia-city

On going project for own used

Docker

This project includes a Docker configuration for local development and production deployment (e.g., Google Cloud Run).

Local Development

To run the application locally using Docker Compose:

docker-compose up --build

The application will be available at http://localhost:8080.

Production Deployment (Google Cloud Run)

The Dockerfile is configured to listen on port 8080, which is the default for Cloud Run.

  1. Build and Push the Docker image:

    gcloud builds submit --tag gcr.io/PROJECT-ID/malaysia-city

    Replace PROJECT-ID with your Google Cloud project ID.

  2. Deploy to Cloud Run:

    gcloud run deploy malaysia-city \
      --image gcr.io/PROJECT-ID/malaysia-city \
      --platform managed \
      --region us-central1 \
      --allow-unauthenticated

    Or deploy from source directly:

    gcloud run deploy malaysia-city --source .

About

🌍 World countries, states, regions, provinces, cities, towns in JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 95.6%
  • Dockerfile 3.4%
  • HTML 1.0%