- Install docker (https://docs.docker.com/engine/install/) and docker-compose (https://docs.docker.com/compose/) please install this before continuing.
- Create a docker-compose.yml file and paste this code:
version: "3.6" services: datomia: image: public.ecr.aws/obok/datomia container_name: datomia devices: - /dev/fuse cap_add: - SYS_ADMIN privileged: true network_mode: "host" volumes: - /mnt:/mnt/datomia:rshared environment: DB_USER: db-user DB_PASSWORD: db-password ACCESS_KEY: aws-access-key TENANT: name-of-your-tenant SECRET_KEY: aws-secret-key DB_CLUSTER: getobok-7gc.aws-us-east-1.cockroachlabs.cloud:26257 PORT: 443 # optional defaults 443 VDM: vdm-name
- You will need to set in the docker-compose.yml file the environment variables of your tenant. If you do not have that information, please send us an email at support@getobok.com
- If you want a local version (UI) in the browser, comment network mode value and add "ports" like:
version: "3.6" services: datomia: image: public.ecr.aws/h7d4w7a7/datomia container_name: datomia devices: - /dev/fuse cap_add: - SYS_ADMIN privileged: true # network_mode: "host" ports: - "443:443" volumes: - /mnt:/mnt/datomia:rshared environment: DB_USER: db-user DB_PASSWORD: db-password ACCESS_KEY: aws-access-key TENANT: name-of-your-tenant
TENANT_PASSWORD: password-of-your-tentant SECRET_KEY: aws-secret-key DB_CLUSTER: getobok-7gc.aws-us-east-1.cockroachlabs.cloud:26257 PORT: 443 # optional defaults 443 VDM: vdm-nam - Finally, run Obok on your server!
docker-compose up -d
- Local copy URL: 0.0.0.0:443 (Maybe you should skip the "not secure" alert in google chrome")
Comments
0 comments
Please sign in to leave a comment.