Merge remote-tracking branch 'origin/main'
All checks were successful
Build / build (push) Successful in 25m35s
All checks were successful
Build / build (push) Successful in 25m35s
This commit is contained in:
commit
7eef3f5c5a
|
@ -22,14 +22,14 @@
|
|||
```bash
|
||||
docker run \
|
||||
-p 8080:8080 \
|
||||
git.maronato.dev/maronato/goshort:1.3.1
|
||||
git.maronato.dev/maronato/goshort:latest
|
||||
```
|
||||
|
||||
Or via Docker Compose:
|
||||
```yml
|
||||
service:
|
||||
goshort:
|
||||
image: git.maronato.dev/maronato/goshort:1.3.1
|
||||
image: git.maronato.dev/maronato/goshort:latest
|
||||
ports:
|
||||
- 8080:8080
|
||||
```
|
||||
|
@ -41,14 +41,14 @@ If you want to persist the database, attach a volume to `/app`:
|
|||
docker run \
|
||||
-p 8080:8080 \
|
||||
-v /path/to/db:/app /
|
||||
git.maronato.dev/maronato/goshort:1.3.1
|
||||
git.maronato.dev/maronato/goshort:latest
|
||||
```
|
||||
|
||||
Or via Docker Compose:
|
||||
```yml
|
||||
service:
|
||||
goshort:
|
||||
image: git.maronato.dev/maronato/goshort:1.3.1
|
||||
image: git.maronato.dev/maronato/goshort:latest
|
||||
ports:
|
||||
- 8080:8080
|
||||
volumes:
|
||||
|
|
Loading…
Reference in New Issue
Block a user