Skip to content

Commit

Permalink
docs: bash highlighting, docker ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
EETagent committed Aug 16, 2023
1 parent 46c832e commit c53dbb4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
15 changes: 11 additions & 4 deletions docs/01_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

## Vytvoření docker sítě

```
```bash
docker network create -d bridge traefik_proxy
```

## Traefik

```
```bash
docker compose -f docker/traefik/docker-compose.yml up
```

Expand All @@ -20,15 +20,22 @@ Traefik běží na portu 80

Použijte `docker login` se svými přihlašovacími údaji

```
```bash
docker login
```

S GitHub tokenem

```bash
export CR_PAT=TOKEN_TU
echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin
```

### Spuštění

Nakonfigurujte šablonu: `docker/testy/docker-compose.yml` a spusťte ji

```
```bash
docker compose -f docker/testy/docker-compose.yml up
```

Expand Down
2 changes: 1 addition & 1 deletion docs/02_usersplit.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ cd packages/usersplit/

Ke spuštění scriptu je potřeba .env s DATABASE_URL proměnnou

```
```bash
echo "DATABASE_URL=postgres://REDACTED:REDACTED@localhost:5432/postgres" > .env
```

Expand Down

0 comments on commit c53dbb4

Please sign in to comment.