Use GitHub Container Registry for Docker images

GHCR allows images to be pulled anonymously
This commit is contained in:
Hugo Müller-Downing 2020-09-06 15:44:56 +10:00
parent 83678756c7
commit 7dd5d97279
3 changed files with 38 additions and 14 deletions

View file

@ -60,13 +60,13 @@ The `HASH_SALT` is used to generate unique values for your installation.
### Build the application
```
```bash
npm run build
```
### Start the application
```
```bash
npm start
```
@ -78,15 +78,26 @@ or change the [port](https://nextjs.org/docs/api-reference/cli#production) to se
To build the umami container and start up a Postgres database, run:
```
```bash
docker-compose up
```
Alternatively, to pull just the Umami Docker image with PostgreSQL support:
```bash
docker pull ghcr.io/mikecao/umami:postgresql-latest
```
Or with MySQL support:
```bash
docker pull ghcr.io/mikecao/umami:mysql-latest
```
## Getting updates
To get the latest features, simply do a pull, install any new dependencies, and rebuild:
```
```bash
git pull
npm install
npm run build
@ -94,4 +105,4 @@ npm run build
## License
MIT
MIT