Refactor docker-compose.yml to remove unnecessary network configurations

This commit is contained in:
2024-05-26 22:10:17 +08:00
parent d2a959c012
commit 5e1b0035bc
2 changed files with 57 additions and 57 deletions
+13 -13
View File
@@ -204,15 +204,15 @@ http:
certResolver: letsencrypt certResolver: letsencrypt
service: jellyfin_app service: jellyfin_app
kestra-router: # kestra-router:
entryPoints: # entryPoints:
- web-secure # - web-secure
rule: "Host(`kestra.furyhawk.lol`)" # rule: "Host(`kestra.furyhawk.lol`)"
middlewares: # middlewares:
- csrf # - csrf
tls: # tls:
certResolver: letsencrypt # certResolver: letsencrypt
service: kestra_app # service: kestra_app
meshtastic-router: meshtastic-router:
entryPoints: entryPoints:
@@ -510,10 +510,10 @@ http:
loadBalancer: loadBalancer:
servers: servers:
- url: http://jellyfin:8096 - url: http://jellyfin:8096
kestra_app: # kestra_app:
loadBalancer: # loadBalancer:
servers: # servers:
- url: http://kestra:8080 # - url: http://kestra:8080
librechat_app: librechat_app:
loadBalancer: loadBalancer:
servers: servers:
+44 -44
View File
@@ -167,50 +167,50 @@ services:
- net - net
- default - default
kestra: # kestra:
image: kestra/kestra:latest-full # image: kestra/kestra:latest-full
container_name: kestra # container_name: kestra
# pull_policy: always # # pull_policy: always
# Note that this is meant for development only. Refer to the documentation for production deployments of Kestra which runs without a root user. # # Note that this is meant for development only. Refer to the documentation for production deployments of Kestra which runs without a root user.
user: "root" # user: "root"
command: server standalone --worker-thread=128 # command: server standalone --worker-thread=128
environment: # environment:
KESTRA_CONFIGURATION: | # KESTRA_CONFIGURATION: |
datasources: # datasources:
postgres: # postgres:
url: jdbc:postgresql://postgres:5432/kestra # url: jdbc:postgresql://postgres:5432/kestra
driverClassName: org.postgresql.Driver # driverClassName: org.postgresql.Driver
username: ${POSTGRES_USER} # username: ${POSTGRES_USER}
password: ${POSTGRES_PASSWORD} # password: ${POSTGRES_PASSWORD}
kestra: # kestra:
server: # server:
basic-auth: # basic-auth:
enabled: true # enabled: true
username: ${EMAIL_FROM} # it must be a valid email address # username: ${EMAIL_FROM} # it must be a valid email address
password: ${EMAIL_PASSWORD} # password: ${EMAIL_PASSWORD}
repository: # repository:
type: postgres # type: postgres
storage: # storage:
type: local # type: local
local: # local:
base-path: "/app/storage" # base-path: "/app/storage"
queue: # queue:
type: postgres # type: postgres
tasks: # tasks:
tmp-dir: # tmp-dir:
path: /tmp/kestra-wd/tmp # path: /tmp/kestra-wd/tmp
url: http://kestra.furyhawk.lol/ # url: http://kestra.furyhawk.lol/
volumes: # volumes:
- kestra_data:/app/storage # - kestra_data:/app/storage
- /var/run/docker.sock:/var/run/docker.sock # - /var/run/docker.sock:/var/run/docker.sock
# - /tmp/kestra-wd:/tmp/kestra-wd # # - /tmp/kestra-wd:/tmp/kestra-wd
depends_on: # depends_on:
- postgres # - postgres
expose: # expose:
- "8080" # - "8080"
- "8081" # - "8081"
networks: # networks:
- net # - net
cheatsheets-app: cheatsheets-app:
image: furyhawk/cheatsheets:${CHEATSHEETSTAG:-latest} image: furyhawk/cheatsheets:${CHEATSHEETSTAG:-latest}