This commit is contained in:
parent
fe90938f51
commit
b9448d46cf
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user