Server setup
The setup on a server is similar to the compose setup. It will not described in detail here.
Environment Variables
The env variables are similar to the compose setup: you have to set:
Docker compose
The server setup has it's own docker compose file docker-compose.yml. The docker compose commands will use that file, but you can also specify it with -f docker-compose.yml
Proxy Server
Their is an additional reverse proxy that has the following tasks:
- password protect access to the debates app for all users
- restrict access to the route
editto theeditor user - provide lets encrypt certification to make the debates api available under
https
Load data
See compose setup