A webhook server to add an unique task number for each new task
- Create config.json file from config.sample.json with your own credentials data
- Setup a webhook on Asana : Documentation
- HTTP port is on 80 by default, it can be set with ASANA_PORT environment variable
If you want to deploy the application with Docker, you can follow these steps:
- Create by copy data.json from data.sample.json (it's mandatory because of the volume)
- Set up your nginx
server {
listen 80;
listen [::]:80;
server_name ndd.example.org;
error_log /var/log/nginx/asana.access.log;
client_max_body_size 1M;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://127.0.0.1:8082/;
proxy_redirect off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_redirect off;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
- You can secure your connection with Let's Encrypt
docker-compose build
to builddocker-compose up -d
to execute in backgrounddocker-compose logs f
to watch your logs