mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2025-02-21 21:48:08 +08:00
Update README.md and fix deployment step in .woodpecker.yml
This commit is contained in:
parent
752add642f
commit
44ba296353
3 changed files with 5 additions and 4 deletions
|
@ -3,5 +3,4 @@ chrome/
|
|||
dumps/
|
||||
media/
|
||||
TODO.md
|
||||
.env
|
||||
documentation/
|
||||
.env
|
|
@ -25,8 +25,9 @@ steps:
|
|||
- ssh root@10.0.10.4 '
|
||||
cd $PROJECT_DIR;
|
||||
docker-compose down;
|
||||
docker image rm git.keannu1.duckdns.org/keannu125/drf_template;
|
||||
docker volume rm git.keannu1.duckdns.org/keannu125/drf_template_db_data;
|
||||
docker image rm git.keannu1.duckdns.org/keannu125/drf_template || true;
|
||||
docker pull git.keannu1.duckdns.org/keannu125/drf_template:latest;
|
||||
docker volume rm git.keannu1.duckdns.org/keannu125/drf_template_db_data || true;
|
||||
docker compose up -d'
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
## DRF-Template
|
||||
|
||||

|
||||

|
||||
|
||||
This is a Django template that I personally use for my projects. This covers the following
|
||||
|
||||
|
|
Loading…
Reference in a new issue