Boilerplate for creating protected vue-press project.
# Features
- Google SSO by oauth2-proxy
- CI using GitHub Actions
- Hosting using Minio
# Setup
# create minio.env
cp minio.env.template minio.env
vim minio.env
# create oauth2-proxy.env
cp oauth2-proxy.env.template oauth2-proxy.env
vim oauth2-proxy.env
docker-compose up -d
# This command makes a bucket and configure it.
docker-compose exec minio /init.sh
# Enable GitHub Actions
Set the following secrets in GitHub Settings.
- AWS_ACCESS_KEY_ID : set the same value as MINIO_ROOT_USER
- AWS_SECRET_ACCESS_KEY : set the same value as MINIO_ROOT_PASSWORD
- AWS_REGION (ex. valid aws region. this value is not used at now.)
- AWS_ENDPOINT_URL (ex. http://your-domain:9000)
- DOCUMENT_BUCKET_NAME : must be 'site-contents'