diff --git a/README.md b/README.md index 8020f93..03b6cc1 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,21 @@ Docker deployment for [DarkflameUniverse/NexusDashboard](https://github.com/DarkflameUniverse/NexusDashboard) Is available at: https://nexus.ar21.de + +How to host with docker-compose: +``` +version: "3" + +services: + darkflame_nexus: + container_name: darkflame_nexus + image: aaronriedel/nexus + restart: unless-stopped + volumes: + - /dockerfiles/darkflame_client:/home/docker/NexusDashboard/app/luclient:rw + - /dockerfiles/darkflame_cachedir:/home/docker/NexusDashboard/app/cache:rw + - /dockerfiles/darkflame_nexus/settings.py:/home/docker/NexusDashboard/app/settings.py + environment: + - APP_DATABASE_URI=mysql+pymysql://DBusername:DBpassword@localhost/DBname + - APP_SECRET_KEY=YOUR_SECRET +``` \ No newline at end of file