DEV Community

Moontasir Mahmood
Moontasir Mahmood

Posted on • Edited on

2

How to Run Apache-AGE and age-viewer using Docker

To run Apache-AGE and age-viewer using Docker, you can follow these steps:

  • Install Docker: First, you need to install Docker on your system. You can download and install Docker from the official website: docker.

  • Clone the following Github Repo

git clone https://github.com/Munmud/apache_age.git
Enter fullscreen mode Exit fullscreen mode
  • Go to project directory and run the following command
git submodule update --init --recursive
Enter fullscreen mode Exit fullscreen mode
  • Replace the age-viewer/Dockerfile with following code
FROM node:14-alpine3.16
RUN npm install pm2
WORKDIR /src
COPY . .
RUN npm run setup
EXPOSE 3000
Enter fullscreen mode Exit fullscreen mode
  • Run docker compose up

  • Visit URL

localhost:3000
Enter fullscreen mode Exit fullscreen mode
  • Fill the form as below :
    • Connect URL : age
    • Connect Port : 5432
    • Database Name : postgresDB
    • User Name : postgresUser
    • Password : postgresPW

Congratulations, you have successfully run Apache-AGE and age-viewer using Docker. You can now start creating and managing graph data using Apache-AGE.

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay