An open API service indexing awesome lists of open source software.

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

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.