forked from freeleaps/freeleaps-pub
Update for optimize all start/stop/restart logic and docker compose configuration
This commit is contained in:
parent
341b2a5042
commit
3f3580e25e
File diff suppressed because it is too large
Load Diff
@ -11,7 +11,7 @@ services:
|
|||||||
- DISABLE_REGISTRATION=true
|
- DISABLE_REGISTRATION=true
|
||||||
- REQUIRE_SIGNIN_VIEW=true
|
- REQUIRE_SIGNIN_VIEW=true
|
||||||
volumes:
|
volumes:
|
||||||
- freeleaps2-gitea-data:/data
|
- ${WORKING_HOME}/freeleaps2-gitea/:/data
|
||||||
networks:
|
networks:
|
||||||
- devbox_freeleaps2-network
|
- devbox_freeleaps2-network
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
volumes:
|
volumes:
|
||||||
- freeleaps2-mongodb-data:/data/db
|
- ${WORKING_HOME}/freeleaps2-mongodb-data:/data/db
|
||||||
networks:
|
networks:
|
||||||
- devbox_freeleaps2-network
|
- devbox_freeleaps2-network
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ services:
|
|||||||
- "5672:5672"
|
- "5672:5672"
|
||||||
- "15672:15672"
|
- "15672:15672"
|
||||||
volumes:
|
volumes:
|
||||||
- freeleaps2-rabbitmq-data:/var/lib/rabbitmq
|
- ${WORKING_HOME}/freeleaps2-rabbitmq-data:/var/lib/rabbitmq
|
||||||
networks:
|
networks:
|
||||||
- devbox_freeleaps2-network
|
- devbox_freeleaps2-network
|
||||||
|
|
||||||
@ -72,7 +72,7 @@ services:
|
|||||||
uvicorn webapi.main:app --reload --port=8007 --host=0.0.0.0
|
uvicorn webapi.main:app --reload --port=8007 --host=0.0.0.0
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /var/lib/docker/app/devsvc/log
|
source: ${WORKING_HOME}/logs/devsvc
|
||||||
target: /app/log/devsvc
|
target: /app/log/devsvc
|
||||||
networks:
|
networks:
|
||||||
- devbox_freeleaps2-network
|
- devbox_freeleaps2-network
|
||||||
@ -106,7 +106,7 @@ services:
|
|||||||
- devbox_freeleaps2-network
|
- devbox_freeleaps2-network
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /var/lib/docker/app/central_storage/log
|
source: ${WORKING_HOME}/logs/central_storage
|
||||||
target: /app/log/central_storage
|
target: /app/log/central_storage
|
||||||
|
|
||||||
authentication:
|
authentication:
|
||||||
@ -140,7 +140,7 @@ services:
|
|||||||
- devbox_freeleaps2-network
|
- devbox_freeleaps2-network
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /var/lib/docker/app/authentication/log
|
source: ${WORKING_HOME}/logs/authentication
|
||||||
target: /app/log/authentication
|
target: /app/log/authentication
|
||||||
|
|
||||||
content:
|
content:
|
||||||
@ -171,7 +171,7 @@ services:
|
|||||||
- devbox_freeleaps2-network
|
- devbox_freeleaps2-network
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /var/lib/docker/app/content/log
|
source: ${WORKING_HOME}/logs/content
|
||||||
target: /app/log/content
|
target: /app/log/content
|
||||||
|
|
||||||
notification:
|
notification:
|
||||||
@ -207,7 +207,7 @@ services:
|
|||||||
- devbox_freeleaps2-network
|
- devbox_freeleaps2-network
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: /var/lib/docker/app/notification/log
|
source: ${WORKING_HOME}/logs/notification
|
||||||
target: /app/log/notification
|
target: /app/log/notification
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user