Sign inSign up

redelivre/aloomio

By redelivre

Updated almost 8 years ago

This image run a `loomio` server without being root

Image
0

254

redelivre/aloomio repository overview

redelivre/aloomio

Build Status Docker Automated build

redelivre/aloomio is a container image from a fork of loomio software. This image intents to run a loomio server without be root, where a given username will be used as sudo user.

Pulling

In your terminal, type:

$ docker pull redelivre/aloomio:latest

Running

After download image, type:

$ docker run \
               --env-file <an env file> \
               --port 3000 \
               --volume ./client:/loomio/public/client \
               --volume ./uploads:/loomio/public/system \
               --volume ./files:/loomio/public/files \
               --volume ./plugins:/loomio/plugins/docker \
               --volume ./import:/import \
               --arg "username=<user>" \
               -t redelivre/aloomio:latest 

Using with docker-compose:

You can build with docker-compose (recomended). Append to a docker-compose.yml file the following content.

version: '2'
services:
  web_app:
    restart: always
    image: redelivre/aloomio:latest
    args:
      - "username=aloomio"
    ports:
      - "3000:3000"
    env_file: .env
    links:
      - postgres
    volumes:
      - ./client:/loomio/public/client
      - ./uploads:/loomio/public/system
      - ./files:/loomio/public/files
      - ./plugins:/loomio/plugins/docker
      - ./import:/import

If you are using traefik, add the following content to the service above:

    labels:
      traefik.frontend.rule: aloomio.domain
      traefik.port: '3000'
      traefik.enable: 'true'
      traefik.alias: app
    networks:
      loomio_net:

and a network:

 loomio_net:
    ipam:
      # Utilize o driver padrão
      driver: default
      config:
      # Rede interna privada
      - subnet:  10.0.0.0/8

Tag summary

Content type

Image

Digest

Size

860.6 MB

Last updated

almost 8 years ago

docker pull redelivre/aloomio