Update for optimize all start/stop/restart logic and docker compose configuration

This commit is contained in:
Tianyong Qiu 2025-02-12 00:37:14 +08:00
parent 341b2a5042
commit 3f3580e25e
2 changed files with 406 additions and 618 deletions

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@ services:
- DISABLE_REGISTRATION=true
- REQUIRE_SIGNIN_VIEW=true
volumes:
- freeleaps2-gitea-data:/data
- ${WORKING_HOME}/freeleaps2-gitea/:/data
networks:
- devbox_freeleaps2-network
@ -25,7 +25,7 @@ services:
ports:
- "27017:27017"
volumes:
- freeleaps2-mongodb-data:/data/db
- ${WORKING_HOME}/freeleaps2-mongodb-data:/data/db
networks:
- devbox_freeleaps2-network
@ -39,7 +39,7 @@ services:
- "5672:5672"
- "15672:15672"
volumes:
- freeleaps2-rabbitmq-data:/var/lib/rabbitmq
- ${WORKING_HOME}/freeleaps2-rabbitmq-data:/var/lib/rabbitmq
networks:
- devbox_freeleaps2-network
@ -72,7 +72,7 @@ services:
uvicorn webapi.main:app --reload --port=8007 --host=0.0.0.0
volumes:
- type: bind
source: /var/lib/docker/app/devsvc/log
source: ${WORKING_HOME}/logs/devsvc
target: /app/log/devsvc
networks:
- devbox_freeleaps2-network
@ -106,7 +106,7 @@ services:
- devbox_freeleaps2-network
volumes:
- type: bind
source: /var/lib/docker/app/central_storage/log
source: ${WORKING_HOME}/logs/central_storage
target: /app/log/central_storage
authentication:
@ -140,7 +140,7 @@ services:
- devbox_freeleaps2-network
volumes:
- type: bind
source: /var/lib/docker/app/authentication/log
source: ${WORKING_HOME}/logs/authentication
target: /app/log/authentication
content:
@ -171,7 +171,7 @@ services:
- devbox_freeleaps2-network
volumes:
- type: bind
source: /var/lib/docker/app/content/log
source: ${WORKING_HOME}/logs/content
target: /app/log/content
notification:
@ -207,7 +207,7 @@ services:
- devbox_freeleaps2-network
volumes:
- type: bind
source: /var/lib/docker/app/notification/log
source: ${WORKING_HOME}/logs/notification
target: /app/log/notification
volumes: