Add docker-compose and MSI installer; fix paths

Add docker-compose.yml to run the website container (binds 127.0.0.1:3000 -> 80). Add BeamMP_Installer.msi to public/installer. Update src/views/Home.vue to use /landing-lq.jpg for the hero image (instead of /src/assets/landing-lq.jpg) and change the installer download link from BeamMP_Installer.zip to BeamMP_Installer.msi.
This commit is contained in:
Starystars67
2026-04-01 22:28:32 +01:00
parent f59b5df887
commit 5295ec664b
3 changed files with 10 additions and 2 deletions

8
docker-compose.yml Normal file
View File

@@ -0,0 +1,8 @@
services:
website:
build:
dockerfile: Dockerfile
container_name: website
restart: unless-stopped
ports:
- "127.0.0.1:3000:80"

Binary file not shown.

View File

@@ -20,7 +20,7 @@ const onlinePlayers = ref('...')
const onlineServers = ref('...')
const isLoading = ref(true)
const heroImageLoaded = ref(false)
const heroImageSrc = ref('/src/assets/landing-lq.jpg')
const heroImageSrc = ref('/landing-lq.jpg')
onMounted(async () => {
try {
@@ -188,7 +188,7 @@ const faqs = computed(() => [
<!-- CTA Buttons -->
<div class="flex flex-col sm:flex-row gap-4 justify-center items-center pt-4">
<a
href="/installer/BeamMP_Installer.zip"
href="/installer/BeamMP_Installer.msi"
download
class="group flex items-center gap-3 bg-linear-to-r from-beammp-orange to-red-600 hover:from-red-600 hover:to-beammp-orange px-8 py-4 rounded-lg font-semibold text-lg transition-all transform hover:scale-105 shadow-lg hover:shadow-beammp-orange/50 text-white"
>