AdventureLog v0.7.1 Migration
In order to make installation easier, the AdventureLog v0.7.1 release has removed the need for a seperate nginx container and cofig to serve the media files. Instead, the media files are now served by an instance of nginx running in the same container as the Django application.
Docker Compose Changes
You can also just use the new docker-compose.yml
file in the repository and change the environment variables to match your setup.
- Remove the
nginx
service from yourdocker-compose.yml
file. - Update the
PUBLIC_URL
environment variable in theserver
service (backend) to match the address of your server, instead of the previous nginx instance. For example, if your server is exposed tohttp://localhost:8000
, setPUBLIC_URL
tohttp://localhost:8000
. If you are using a domain name, setPUBLIC_URL
tohttps://api.yourdomain.com
as an example. - Change port mapping for the
server
service. Right now it probably looks like this:Change it to:ports:
- "your-exposed-port:8000"This is because the nginx instance in the container is now serving the Django application on port 80. The port on the left side of the colon is the port on your host machine and this can be changed to whatever you want. The port on the right side of the colon is the port the Django application is running on in the container and should not be changed.ports:
- "your-exposed-port:80"
That's it! You should now be able to run the application with the new configuration! This update also includes some performance enhancements so there should be a slight speed increase as well, especially with multiple users.
Enjoy the new version of AdventureLog! 🎉
View the full changelog here
Report any bugs GitHub repository or ask for help in the Discord server.