Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikestreety/compiiile-in-docker
Docker image containing compiiile
https://github.com/mikestreety/compiiile-in-docker
Last synced: 27 days ago
JSON representation
Docker image containing compiiile
- Host: GitHub
- URL: https://github.com/mikestreety/compiiile-in-docker
- Owner: mikestreety
- Created: 2024-02-20T21:08:17.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-03-13T08:42:37.000Z (11 months ago)
- Last Synced: 2024-11-11T12:47:28.431Z (3 months ago)
- Language: Dockerfile
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Compiiile-in-Docker
A Docker image with [Compiiile](https://github.com/compiiile/compiiile) bundled in.
For local use or in CI
## Build static docs
```
docker run -v $(pwd):/app ghcr.io/mikestreety/compiiile-in-docker
```## Build and publish to Cloudflare
1. Get a [Cloudflare Token](https://developers.cloudflare.com/pages/how-to/use-direct-upload-with-continuous-integration/#get-credentials-from-cloudflare)
2. Go to Pages -> Create an Application and click "Create using direct upload"
3. Give it a name and click "Create Project"
4. Run the following command```
docker run \
-e CLOUDFLARE_PROJECT_NAME="[name from step 3]" \
-e CLOUDFLARE_ACCOUNT_ID=[account id] \
-e CLOUDFLARE_API_TOKEN=[cloudflare token from step1] \
-v $(pwd):/app\
ghcr.io/mikestreety/compiiile-in-docker-cloudflare
```