This README file describes how to use the Evolution Manager Docker image and set up a domain using Traefik or NGINX.
The Evolution Manager Docker image provides an easy and automated setup and updating of the system. When the container is started, the latest version of the Evolution Manager will be downloaded and installed.
- Docker installed on your machine.
- Basic knowledge of Docker operations.
To start a container with the Evolution Manager, execute the following command:
docker run -d -p 9615:9615 gabrielpastori1/evolution-manager:latestThis command runs the container in detached mode and maps port 9615 of the container to port 9615 of the host.
The image exposes port 9615, which should be mapped to the corresponding port on the host.
To configure a domain and make the Evolution Manager accessible via the web, you can use Traefik as a reverse proxy.
- Traefik configured on your server.
- A domain pointing to the server where Traefik is running.
- Create a
docker-compose.ymlfile in the directory where you want to start the Evolution Manager, with the following content:
version: '3'
services:
evolution-manager:
image: gabrielpastori1/evolution-manager:latest
restart: unless-stopped
ports:
- "9615:9615"
labels:
- "traefik.enable=true"
- "traefik.http.routers.evolution-manager.rule=Host(`your-domain.com`)"
- "traefik.http.routers.evolution-manager.entrypoints=web"
# Add other label configurations as necessary for Traefik
networks:
default:
external:
name: traefik_default-
Replace
your-domain.comwith the domain you want to use. -
Ensure that the specified external network (
traefik_default) matches the network used by Traefik in its setup.
With the docker-compose.yml file configured, start the service with the following command:
docker-compose up -dTraefik will automatically detect the service and apply the rules defined in the container's labels.
If you prefer using NGINX as a reverse proxy instead of Traefik, follow the steps below.
- NGINX installed on your server.
- A domain pointing to your server's IP where NGINX is running.
- Create an NGINX Configuration File: To redirect requests from your domain to the container, you need to create a configuration file in
/etc/nginx/conf.d/with the following content:
server {
listen 80;
server_name your-domain.com;
location / {
proxy_pass http://localhost:9615;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}-
Replace
your-domain.comwith your actual domain. -
Check the NGINX Configuration: Run
nginx -tto ensure there are no errors in the configuration. -
Reload NGINX: After verifying the configuration, reload the NGINX service with
service nginx reloadorsystemctl reload nginx.
Now NGINX will redirect requests from your domain to port 9615, where your Docker container is listening.
For support, questions, or contributions, open an issue or send a pull request on the GitHub repository. Your participation is very welcome!