https://github.com/gandomullac/gando-pages
Just a dumb Docker container for your static assets
https://github.com/gandomullac/gando-pages
docker-compose static-site
Last synced: 11 months ago
JSON representation
Just a dumb Docker container for your static assets
- Host: GitHub
- URL: https://github.com/gandomullac/gando-pages
- Owner: gandomullac
- Created: 2025-07-31T14:29:08.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-31T14:42:13.000Z (11 months ago)
- Last Synced: 2025-07-31T18:18:37.227Z (11 months ago)
- Topics: docker-compose, static-site
- Language: Dockerfile
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GandoPages
Just a dumb Docker container for your static assets (I use this for my [exported laravel sites](https://github.com/spatie/laravel-export)).
_I ain't gonna need a VPS for that shi..._
_... and still, I test._
## Use cases
- You have a bunch of newly generated static assets you'd like to test out, without configuring a webserver on your machine.
- You have exported a website from a module-oriented SSR framework and you want to use Cloudflare Pages or equivalent.
- You don't wanna learn proper frontend tools. I'm not pointing fingers to anybody (but myself).
- You also really don't want to meddle with certs, nor HTTPS redirect: these work out of the box.
## Requirements
- Docker compose
## Installation
1. Clone the repository
2. Copy your website static files to the `./dist` directory in the cloned repository (you'll need to create it).
3. Edit the `.env` file to set the `VIRTUAL_HOST` variable to your domain name.
Example:
```env
VIRTUAL_HOST=example.com
```
4. IMPORTANT: edit your `hosts` file.
5. Build and start the container:
```bash
docker compose up -d --build
```
## License
This project is licensed under the [Unlicense](https://unlicense.org/), which allows you to do anything you want with it. I literally couldn't care less.