Skip to content

Creating and using AccessMod using docker compose

F.Moser edited this page Oct 31, 2022 · 1 revision

Simple instruction

  1. Clone this repo
  2. type docker compose up

More elaborate way

  1. Create file named "docker-compose.yml" this using a text editor like vim, nano, vscode ( not Word ) and paste that in it:
version: "3.8"

services:
  am5:
    image: fredmoser/accessmod:latest
    ports:
      - "3180:3100"
    command: ["Rscript", "--vanilla", "run.r", "3100", "5100", "5180"]
    volumes: 
      - am5_dev_tmp:/tmp
      - am5_dev_data:/data/dbgrass
      - am5_dev_cache:/data/cache
      - am5_dev_logs:/data/logs

volumes:
  am5_dev_tmp:
  am5_dev_data:
  am5_dev_cache:
  am5_dev_logs:
  1. type docker compose up