https://github.com/conversejs/converse.js-docker
Full installation of Converse on Docker for development purpose
https://github.com/conversejs/converse.js-docker
Last synced: 5 months ago
JSON representation
Full installation of Converse on Docker for development purpose
- Host: GitHub
- URL: https://github.com/conversejs/converse.js-docker
- Owner: conversejs
- License: mit
- Created: 2019-08-13T11:20:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-04-29T07:05:49.000Z (about 4 years ago)
- Last Synced: 2024-12-29T15:47:07.703Z (over 1 year ago)
- Language: HTML
- Size: 12.7 KB
- Stars: 5
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Converse development environment for Docker
This environment was set up for frontend development purpose on the standard Converse environment. That set up gives you access to a local repository that is a volume mounted by the Docker container on your local machine. You can then use your usual IDE to perform changes and test them against the Converse installation on Docker.
It has been tested against version 9.1.0 of Converse.
## Requirements
* Docker needs to be installed on the machine that will run this environment
* Make sure that Docker have the correct rights on the directory you wish to work on
## Instruction
* Download or clone this package in a local directory
* Edit the device field of the file docker-compose.yml has to be edited to reflect your own environment
* Create the folder related to the device you set up at the previous step
* Run the shell command `docker-compose up -d` in the directory where the docker-compose.yml file is present
* By default, the team chat will be available at you `localhost:381` address
* Stop the container by executing in your shell `docker stop container-conversejs`
### Build
Normal build:
```bash
docker build \
--build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \
--build-arg APPLICATION_NAME=conversejs \
--build-arg BUILD_VERSION=v1.0 \
--file Dockerfile \
--tag conversejs/converse.js:latest \
.
```
Multiarch build:
```bash
docker buildx build \
--platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
--build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') \
--build-arg APPLICATION_NAME=conversejs \
--build-arg BUILD_VERSION=v1.0 \
--file Dockerfile \
--tag conversejs/converse.js:latest \
.
```
## Additional Resources / Information
* website shown at `localhost:381` is based on the original [fullscreen.html](https://raw.githubusercontent.com/conversejs/converse.js/v9.1.0/fullscreen.html) - thanks [@jcbrand](https://github.com/conversejs/converse.js-docker/pull/2#discussion_r859454722)!