mirror of
https://github.com/RYDE-WORK/full-stack-fastapi-template.git
synced 2026-01-19 13:13:25 +08:00
📝 Update deployment docs to use a different directory for traefik-public (#670)
This commit is contained in:
parent
e165897df7
commit
e12262078a
@ -16,7 +16,7 @@ But you have to configure a couple things first. 🤓
|
||||
* Create a remote directory to store your code, for example:
|
||||
|
||||
```bash
|
||||
mkdir -p /root/code/fastapi-project/
|
||||
mkdir -p /root/code/traefik-public/
|
||||
```
|
||||
|
||||
## 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`:
|
||||
|
||||
```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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user