Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.59 KB

readme.md

File metadata and controls

44 lines (30 loc) · 1.59 KB

CodeFactor FOSSA Status

How to get OAE running with docker

Run built image from dockerhub

docker run --rm -it -P --network host --name=oae ghcr.io/oaeproject/oae-demo:master

You'll still need to set up the dns entries, as follows:

# As root or with sudo
echo "127.0.0.1 admin.oae.com" > /etc/hosts
echo "127.0.0.1 guest.oae.com" > /etc/hosts

As soon as the container boot, you may go to admin.oae.com (admin interface) or guest.oae.com (test tenant).

Build and run locally

# Build the image
docker build --rm -t oae-demo:latest -f Dockerfile .
# Run the container (all servers)
docker run --rm -it -P --network host --name=oae oae-demo:latest

This is intended to work on linux alone.

Debug locally

After building the image locally, try running the container with bin/bash like this:

docker run --rm -it -P --network host --name=oae oae-demo:latest /bin/bash # you'll be root
# if you need to run something as another user, try the `runuser` command like this: runuser -l node -c 'ls -la'

License

FOSSA Status