Merge remote-tracking branch 'origin/main'
All checks were successful
Build / build (push) Successful in 25m35s

This commit is contained in:
Gustavo Maronato 2023-09-06 14:59:22 -03:00
commit 7eef3f5c5a
Signed by: maronato
SSH Key Fingerprint: SHA256:2Gw7kwMz/As+2UkR1qQ/qYYhn+WNh3FGv6ozhoRrLcs

View File

@ -22,14 +22,14 @@
```bash ```bash
docker run \ docker run \
-p 8080:8080 \ -p 8080:8080 \
git.maronato.dev/maronato/goshort:1.3.1 git.maronato.dev/maronato/goshort:latest
``` ```
Or via Docker Compose: Or via Docker Compose:
```yml ```yml
service: service:
goshort: goshort:
image: git.maronato.dev/maronato/goshort:1.3.1 image: git.maronato.dev/maronato/goshort:latest
ports: ports:
- 8080:8080 - 8080:8080
``` ```
@ -41,14 +41,14 @@ If you want to persist the database, attach a volume to `/app`:
docker run \ docker run \
-p 8080:8080 \ -p 8080:8080 \
-v /path/to/db:/app / -v /path/to/db:/app /
git.maronato.dev/maronato/goshort:1.3.1 git.maronato.dev/maronato/goshort:latest
``` ```
Or via Docker Compose: Or via Docker Compose:
```yml ```yml
service: service:
goshort: goshort:
image: git.maronato.dev/maronato/goshort:1.3.1 image: git.maronato.dev/maronato/goshort:latest
ports: ports:
- 8080:8080 - 8080:8080
volumes: volumes: