redelivre/aloomio-worker is a container image worker from a fork of loomio software. This image intents to run a loomio worker for another image, redelivre/aloomio
In your terminal, type:
$ docker pull redelivre/aloomio-worker:latest
After download image, type:
$ docker run \
--env-file <env file> \
--env DATABASE_URL=postgresql://postgres:password@db/loomio_production
--port 3001 \
--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-worker>" \
-t redelivre/aloomio:latest --worker
docker-compose:You can build with docker-compose (recomended). Append to a docker-compose.yml file the following content.
web_worker:
restart: always
image: redelivre/aloomio-worker:latest
command:
- --worker
env:
- DATABASE_URL=postgresql://postgres:password@db/loomio_production
volumes:
- ./client:/loomio/public/client
- ./uploads:/loomio/public/system
- ./files:/loomio/public/files
- ./plugins:/loomio/plugins/docker
If you are using traefik, add the following content to the service above:
labels:
traefik.frontend.rule: worker.aloomio.domain
traefik.port: '3000'
traefik.enable: 'true'
traefik.alias: worker
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
Content type
Image
Digest
Size
860.7 MB
Last updated
almost 8 years ago
docker pull redelivre/aloomio-worker