-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |