Skip to content

Commit f3d2481

Browse files
committed
Adapt README: download image
1 parent c073ca3 commit f3d2481

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ docker run -p 8080:80 addismaptransitweb-local
2626

2727
Access http://localhost:8080/
2828

29+
### Download an run the official image
30+
31+
Create github token: https://github.com/settings/tokens (repo, read:packages)
32+
33+
```
34+
docker login ghcr.io # username: your github username, password: the above created token
35+
docker run -p 8080:80 ghcr.io/addismap/addismaptransit-web:latest
36+
```
37+
38+
Access http://localhost:8080/
39+
2940
### Build for the server
3041

3142
We use GitHub actions to build the docker image on the main branch.
@@ -35,3 +46,4 @@ We use GitHub actions to build the docker image on the main branch.
3546
* ssh into server
3647
* `cd /srv/addismaptransit-web`
3748
* `docker-compose pull`
49+
* `docker-compose up -d`

0 commit comments

Comments
 (0)