Browse Source
📝 Update deployment docs to use a different directory for traefik-public (#670)
pull/13907/head
Sebastián Ramírez
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
deployment.md
|
@ -16,7 +16,7 @@ But you have to configure a couple things first. 🤓 |
|
|
* Create a remote directory to store your code, for example: |
|
|
* Create a remote directory to store your code, for example: |
|
|
|
|
|
|
|
|
```bash |
|
|
```bash |
|
|
mkdir -p /root/code/fastapi-project/ |
|
|
mkdir -p /root/code/traefik-public/ |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
## Public Traefik |
|
|
## Public Traefik |
|
@ -30,7 +30,7 @@ You need to do these next steps only once. |
|
|
Copy the Traefik Docker Compose file to your server, to your code directory. You could do it with `rsync`: |
|
|
Copy the Traefik Docker Compose file to your server, to your code directory. You could do it with `rsync`: |
|
|
|
|
|
|
|
|
```bash |
|
|
```bash |
|
|
rsync -a docker-compose.traefik.yml root@your-server.example.com:/root/code/fastapi-project/ |
|
|
rsync -a docker-compose.traefik.yml root@your-server.example.com:/root/code/traefik-public/ |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
### Traefik Public Network |
|
|
### Traefik Public Network |
|
|