Website for Collabus project
www.collabus.fr
- Add .env file in backend/ folder. See backend environment file documentation.
- Add .env file in project root folder and add the following keys :
COLLABUS_BACKEND_PORT=8000 # port example
COLLABUS_FRONTEND_PORT=4200 # port example
EXECUTION_ENVIRONMENT=production # staging or production
- Start containers
./start.prod.sh
Stop containers
./stop.prod.sh
server_tokens off;
server {
listen 80;
listen [::]:80;
server_name backend.collabus.fr;
location / {
proxy_pass http://localhost:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_redirect off;
proxy_buffering off;
proxy_store off;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
}
}
server {
listen 80;
listen [::]:80;
server_name www.collabus.fr;
location / {
proxy_pass http://localhost:4200;
}
}
<type>[optional scope][optional breaking change '!']: <description>
- feat(frontend): commit description
- fix(backend)!: commit description
- chore(): routine job
- build(): system build and dependencies
- ci(): integration or configuration scripts and files
- feat(): introduces a new feature
- fix(): patches a bug
- perf(): performance improvement
- refactor(): rewrite code
- style(): code formatting
- docs(): add or update docs
- test(): add or update tests