Skip to content

Commit

Permalink
docs: add setup.md
Browse files Browse the repository at this point in the history
  • Loading branch information
starvy committed Aug 16, 2023
1 parent d627fe3 commit d4fe283
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions docs/setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Spuštění

## Vytvoření docker sítě

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

## Traefik

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

Traefik běží na portu 80

## Testy

### Přihlášení

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/portfolio/docker-compose.yml` a spusťte ji

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

- Migrace se spustí automaticky

0 comments on commit d4fe283

Please sign in to comment.