Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yaoai-video
Project
Project
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
姚珂
yaoai-video
Commits
c2bcc050
Commit
c2bcc050
authored
May 25, 2026
by
yaoke.yk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker编排还原
parent
74404e9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
18 deletions
+5
-18
docker-compose.yml
docker-compose.yml
+5
-18
No files found.
docker-compose.yml
View file @
c2bcc050
...
...
@@ -8,7 +8,7 @@ services:
MYSQL_PASSWORD
:
${MYSQL_PASSWORD:-yaoai123}
TZ
:
${TZ:-Asia/Shanghai}
ports
:
-
"
${MYSQL_PORT:-
2
3306}:3306"
-
"
${MYSQL_PORT:-
1
3306}:3306"
command
:
-
--character-set-server=utf8mb4
-
--collation-server=utf8mb4_unicode_ci
...
...
@@ -26,7 +26,7 @@ services:
redis
:
image
:
docker.m.daocloud.io/library/redis:7.2-alpine
ports
:
-
"
${REDIS_PORT:-
2
6379}:6379"
-
"
${REDIS_PORT:-
1
6379}:6379"
volumes
:
-
redis-data:/data
healthcheck
:
...
...
@@ -43,8 +43,7 @@ services:
environment
:
TZ
:
${TZ:-Asia/Shanghai}
SPRING_PROFILES_ACTIVE
:
${SPRING_PROFILES_ACTIVE:-prod}
SERVER_PORT
:
8081
BILLING_MODE
:
${BILLING_MODE:-STRICT}
SERVER_PORT
:
8080
DB_URL
:
jdbc:mysql://mysql:3306/${MYSQL_DATABASE:-yaoai_comic}?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai&characterEncoding=UTF-8
DB_USERNAME
:
${MYSQL_USER:-yaoai}
DB_PASSWORD
:
${MYSQL_PASSWORD:-yaoai123}
...
...
@@ -66,7 +65,7 @@ services:
redis
:
condition
:
service_healthy
ports
:
-
"
${BACKEND_PORT:-
28081}:8081
"
-
"
${BACKEND_PORT:-
8080}:8080
"
restart
:
unless-stopped
frontend
:
...
...
@@ -78,19 +77,7 @@ services:
depends_on
:
-
backend
ports
:
-
"
${FRONTEND_PORT:-3000}:3000"
restart
:
unless-stopped
admin-web
:
build
:
context
:
./yaoai-admin-web
dockerfile
:
Dockerfile
environment
:
ADMIN_API_UPSTREAM
:
http://backend:8081
depends_on
:
-
backend
ports
:
-
"
${ADMIN_WEB_PORT:-3001}:3001"
-
"
${FRONTEND_PORT:-3000}:80"
restart
:
unless-stopped
volumes
:
...
...
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