DEV Community

Moontasir Mahmood
Moontasir Mahmood

Posted on • Updated on

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.

Top comments (0)