diff --git a/README.md b/README.md index 147fb72..4ab782d 100644 --- a/README.md +++ b/README.md @@ -22,13 +22,12 @@ This simple project uses Traefik as a reverse proxy to a Streamlit application a ## Production Deployment 1. In `compose/traefik/traefik.yml`, change `example@test.com` to your email. 2. In `compose/traefik/traefik.yml`, change `example.com` to your domain. -3. `sudo apt-get install build-essential` -4. `mdkir ~/st-sync` -5. `mdkir ~/.thelounge` -6. `touch cache/bar_cache.sqlite` -7. `touch cache/short_cache.sqlite` -8. `cp .env.example .env` -9. `cp usersfile.example usersfile` +3. `sudo apt-get install build-essential` (if not already installed) to use makefile. +4. `mdkir ~/st-sync` syncthing folder. +5. `cd ~/site` public site folder. +5. `mkdir ./compose/config` to store config. +8. `cp .env.example ./compose/.env` +9. `cp usersfile.example ./compose/usersfile` 10. `make serve` ### Notes: diff --git a/compose/apps.yml b/compose/apps.yml index 1381fc4..e02e368 100644 --- a/compose/apps.yml +++ b/compose/apps.yml @@ -194,7 +194,7 @@ services: image: nginx:alpine restart: unless-stopped volumes: - - ./site:/usr/share/nginx/html:ro + - ~/site:/usr/share/nginx/html:ro expose: - 80 networks: diff --git a/config/certs.toml b/compose/config/certs.toml similarity index 100% rename from config/certs.toml rename to compose/config/certs.toml diff --git a/config/conf.example.php b/compose/config/conf.example.php similarity index 100% rename from config/conf.example.php rename to compose/config/conf.example.php diff --git a/config/conf.php b/compose/config/conf.php similarity index 100% rename from config/conf.php rename to compose/config/conf.php diff --git a/config/.gitignore b/config/.gitignore deleted file mode 100644 index 9c5294c..0000000 --- a/config/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -* -!.gitignore -!certs.toml -!conf.example.php \ No newline at end of file diff --git a/jellyfin-cache/.gitignore b/jellyfin-cache/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/jellyfin-cache/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/jellyfin-config/.gitignore b/jellyfin-config/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/jellyfin-config/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/neo4j/.gitignore b/neo4j/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/neo4j/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/pgadmin/.gitignore b/pgadmin/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/pgadmin/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore diff --git a/postgres-data/.gitignore b/postgres-data/.gitignore deleted file mode 100644 index d6b7ef3..0000000 --- a/postgres-data/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -* -!.gitignore