hopetree / izone-docker Goto Github PK
View Code? Open in Web Editor NEWizone 博客项目的 docker 部署版
Home Page: https://tendcode.com/
License: MIT License
izone 博客项目的 docker 部署版
Home Page: https://tendcode.com/
License: MIT License
root@server:~/izone-docker# docker-compose up -d
Creating network "izonedocker_frontend" with driver "bridge"
Creating network "izonedocker_backend" with driver "bridge"
Creating izone_redis ...
Creating izone_db ...
Creating izone_redis
Creating izone_redis ... done
Creating izone_web ...
Creating izone_web ... done
Creating izone_nginx ...
Creating izone_nginx ... done
root@server:~/izone-docker# docker-compose ps
Name Command State Ports
-----------------------------------------------------------------------------------------------
izone_db docker-entrypoint.sh mysqld Up 3306/tcp, 33060/tcp
izone_nginx nginx -g daemon off; Up 0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp
izone_redis docker-entrypoint.sh redis ... Up 6379/tcp
izone_web gunicorn izone.wsgi -b 0.0 ... Up
root@server:~/izone-docker# docker exec -it izone_web python manage.py makemigrations
cannot exec in a stopped state: unknown
root@server:~/izone-docker# docker exec -it izone_web python manage.py migrate
cannot exec in a stopped state: unknown
root@server:~/izone-docker# docker exec -it izone_web python manage.py makemigrations
然后就这样
root@server:~/izone-docker# docker-compose ps
Name Command State Ports
----------------------------------------------------------------------------------------------------
izone_db docker-entrypoint.sh mysqld Up 3306/tcp, 33060/tcp
izone_nginx nginx -g daemon off; Up 0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp
izone_redis docker-entrypoint.sh redis ... Up 6379/tcp
izone_web gunicorn izone.wsgi -b 0.0 ... Restarting
root@server:~/izone-docker#
老哥要出docker版的博客吗?期待更新
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.