online_store:培训DRF项目 源码
docker network create local-apps docker run --name local-pg13 \ -e POSTGRES_PASSWORD=postgres \ -e POSTGRES_INITDB_ARGS="--locale=C.UTF-8" \ -v ~/Documents/storedata/pg-data:/var/lib/postgresql/data \ -p 5432:5432 \ --network="local-apps" \ --restart always \ -d postgres:13.2-alpine docker exec -it local-pg13 psql -U postgres CREATE USER online_store CREATEDB LOGIN PASS
用户评论