Commit 7cbf00e6 by 陈正乐

docker-compose更改:init数据库问题

parent 900878e7
......@@ -10,16 +10,14 @@ services:
- "5433:5432"
volumes:
- ./lae_pg_data:/var/lib/postgresql/data
- ./init_db:/docker-entrypoint-initdb.d
- ./init_db/create_db.sql:/docker-entrypoint-initdb.d/create_db.sql
python:
build:
context: .
dockerfile: Dockerfile
image: lae_python_image:3.10
image: lae_python_image:v1
container_name: lae_python
volumes:
- .:/app
ports:
- "8003:8003"
stdin_open: true
......
create database lae;
create database lae_chat;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment