Skip to content

movim/movim_docker

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
upd
Sep 26, 2022
Jun 29, 2017
upd
Sep 26, 2022

Quick reference

What is Movim?

Movim is a distributed social network built on top of XMPP, a popular open standards communication protocol. Movim is a free and open source software licensed under the AGPL. It can be accessed using existing XMPP clients and Jabber accounts. Learn more at movim.eu.

wikipedia.org/wiki/Movim

logo

How to use this image

... via docker stack deploy or docker-compose

Example stack.yml for movim:

services:
  movim:
    environment:
      MOVIM_DOMAIN: http://localhost
      MOVIM_PORT: 8080
      MOVIM_INTERFACE: 0.0.0.0
      POSTGRES_DB: movim
      POSTGRES_HOST: postgresql
      POSTGRES_PORT: 5432
      POSTGRES_USER: movim
      POSTGRES_PASSWORD: changeme
    image: movim/movim:0.21rc2
    volumes:
    - ${PWD}/movim:/var/www/html:rw

  nginx:
    image: nginx:mainline-alpine
    ports:
    - published: 80
      target: 80
    volumes:
    - ${PWD}/movim:/var/www/html:ro
    - ${PWD}/nginx:/etc/nginx/conf.d:ro

  postgresql:
    environment:
      POSTGRES_DB: movim
      POSTGRES_PASSWORD: changeme
      POSTGRES_USER: movim
    image: postgres:14-alpine
    volumes:
    - ${PWD}/postgres/data:/var/lib/postgresql/data:rw
version: '3.8'

Please note, you'll need to create the nginx/default.conf file yourself, to be mounted into the nginx container. You can find a good example configuration here.

Creating an Admin User

After you've sucessfully logged in to your Movim Pod, run the following Docker Compose exec command;

docker-compose exec movim php daemon.php setAdmin example@movim.eu