Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
LAE
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
文靖昊
LAE
Commits
7cbf00e6
Commit
7cbf00e6
authored
Jun 04, 2024
by
陈正乐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker-compose更改:init数据库问题
parent
900878e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
docker-compose.yml
docker-compose.yml
+2
-4
create_db.sql
init_db/create_db.sql
+3
-0
No files found.
docker-compose.yml
View file @
7cbf00e6
...
...
@@ -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
...
...
init_db/create_db.sql
0 → 100644
View file @
7cbf00e6
create
database
lae
;
create
database
lae_chat
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment