From b8fe61a685c5a4aaca29e254b530650799b5d519 Mon Sep 17 00:00:00 2001 From: brookee Date: Sat, 27 Jan 2024 20:21:00 -0500 Subject: [PATCH] update --- README.md | 53 ++-------------------------------------------- docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index e56ae02..5c5dad6 100644 --- a/README.md +++ b/README.md @@ -1,56 +1,7 @@ -# Xenforo StP Repo +# Discourse StP Repo Github mirror: https://github.com/Myco-Systems/stp-xenforo-mirror/ -## Downloading and building (run as root or enable docker rootless) -``` -curl -sSfL get.docker.com | bash -``` -``` -git clone https://git.myco.systems/stp/xenforo.git -``` - -``` -cd xenforo -``` - -Copy .env.example to .env and fill in the relevant information, this should match the db you are importing from. -``` -cp .env.example .env -``` - -Place xenforo files at xenforo/_data (or alter the directory in docker-compose.yml to match your Xenforo location) mysql can be pointed anywhere, but you should have a persistent directory so you can enter the container and import your db. - -``` -docker compose build -``` - -## Running - -``` -docker compose up -d -``` - -To import your mysql db you need to move your .sql files into a location that the container is attached to then run `docker exec -it /bin/bash` > `cd /var/lib/mysql` (assuming this is the directory the container is attached to) > `mariadb -u -p < ` enter your password and then get a coffee because any databases over 1 GB can take a while. - -Restart the containers: -``` -docker compose down && docker compose up -``` -After that the nginx webserver will be running on port 8080, currently the expected behavior is for nginx to be behind a reverse proxy so either you can point the proxy at your-ip:8080 or you can alter the docker compose file to include traefik which can grab ssl certificates for you. - -## Issues - -### Github - -To report an issue go to https://github.com/Myco-Systems/stp-xenforo-mirror/blob/main/ISSUES.md and copy the raw markdown, then head over to https://github.com/Myco-Systems/stp-xenforo-mirror/issues and press "New Issue" - -### Gitea - -To report an issue go to https://git.myco.systems/stp/xenforo/src/branch/main/ISSUES.md and copy the raw markdown, then head over to https://git.myco.systems/stp/xenforo/issues and press "New Issue" - -## License - All code is licensed under MIT, no rights reserved, no warranty provided. -https://git.myco.systems/stp/xenforo/src/branch/main/LICENSE \ No newline at end of file +https://git.myco.systems/stp/forum/src/branch/main/LICENSE \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 0eef1db..bf9b87c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ version: "3" - +## Xenforo services: php: build: