SOFD
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Colin 2024-05-13 14:49:41 -04:00
parent 1252c41100
commit 32855bb108
2 changed files with 111 additions and 11 deletions

View File

@ -3,7 +3,6 @@ networks:
traefik: traefik:
external: true external: true
sofd-net: sofd-net:
services: services:
opensearch: opensearch:
image: opensearchproject/opensearch:2.11.1 image: opensearchproject/opensearch:2.11.1
@ -15,10 +14,17 @@ services:
bootstrap.memory_lock: "false" bootstrap.memory_lock: "false"
ES_JAVA_OPTS: "-Xms1g -Xmx1g" ES_JAVA_OPTS: "-Xms1g -Xmx1g"
OPENSEARCH_INITIAL_ADMIN_PASSWORD: "PzGRamsPfmYkv2yBvcuB7xfzdpZhwMCcx" OPENSEARCH_INITIAL_ADMIN_PASSWORD: "PzGRamsPfmYkv2yBvcuB7xfzdpZhwMCcx"
# volumes: volumes:
# - opensearch-data1:/usr/share/elasticsearch/data - /root/tank/persist/nixc.us/sofd/production/opensearch:/usr/share/elasticsearch/data
networks: networks:
- sofd-net - sofd-net
deploy:
replicas: 1
placement:
constraints:
- node.hostname == macmini8
labels:
traefik.enable: "false"
fluentd: fluentd:
image: git.nixc.us/nixius/sofd:production-fluentd image: git.nixc.us/nixius/sofd:production-fluentd
@ -26,13 +32,33 @@ services:
FLUENTD_CONF: fluent.conf FLUENTD_CONF: fluent.conf
# volumes: # volumes:
# - ./fluentd/conf:/fluentd/etc # - ./fluentd/conf:/fluentd/etc
ports: # ports:
- "9880:9880" # - "9880:9880"
networks: networks:
- sofd-net - sofd-net
depends_on: depends_on:
- opensearch - opensearch
deploy:
replicas: 1
placement:
constraints:
- node.hostname == macmini8
# labels:
# traefik.enable: "false"
labels:
homepage.group: apps
homepage.name: sofd-fluentd
homepage.href: https://sofd-fluentd.nixc.us/
homepage.description: sofd-fluentd
traefik.enable: "true"
traefik.http.routers.production_sofd_fluentd.tls: "true"
traefik.http.services.production_sofd_fluentd.loadbalancer.server.port: "9880"
traefik.http.routers.production_sofd_fluentd.rule: Host(`sofd-fluentd.nixc.us`)
traefik.http.routers.production_sofd_fluentd.entrypoints: websecure
traefik.http.routers.production_sofd_fluentd.tls.certresolver: letsencryptresolver
traefik.http.routers.production_sofd_fluentd.service: production_sofd_fluentd
traefik.docker.network: traefik
opensearch-dashboards: opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2.11.1 image: opensearchproject/opensearch-dashboards:2.11.1
environment: environment:
@ -42,4 +68,24 @@ services:
networks: networks:
- sofd-net - sofd-net
depends_on: depends_on:
- opensearch - opensearch
deploy:
replicas: 1
placement:
constraints:
- node.hostname == macmini8
# labels:
# traefik.enable: "false"
labels:
homepage.group: apps
homepage.name: sofd-opensearch
homepage.href: https://sofd-opensearch.nixc.us/
homepage.description: sofd-opensearch
traefik.enable: "true"
traefik.http.routers.production_sofd_opensearch-dashboards.tls: "true"
traefik.http.services.production_sofd_opensearch-dashboards.loadbalancer.server.port: "5601"
traefik.http.routers.production_sofd_opensearch-dashboards.rule: Host(`sofd-opensearch.nixc.us`)
traefik.http.routers.production_sofd_opensearch-dashboards.entrypoints: websecure
traefik.http.routers.production_sofd_opensearch-dashboards.tls.certresolver: letsencryptresolver
traefik.http.routers.production_sofd_opensearch-dashboards.service: production_sofd_opensearch-dashboards
traefik.docker.network: traefik

View File

@ -18,6 +18,13 @@ services:
# - opensearch-data1:/usr/share/elasticsearch/data # - opensearch-data1:/usr/share/elasticsearch/data
networks: networks:
- sofd-net - sofd-net
deploy:
replicas: 1
placement:
constraints:
- node.hostname == macmini8
labels:
traefik.enable: "false"
fluentd: fluentd:
image: git.nixc.us/nixius/sofd:staging-fluentd image: git.nixc.us/nixius/sofd:staging-fluentd
@ -25,13 +32,40 @@ services:
FLUENTD_CONF: fluent.conf FLUENTD_CONF: fluent.conf
# volumes: # volumes:
# - ./fluentd/conf:/fluentd/etc # - ./fluentd/conf:/fluentd/etc
ports: # ports:
- "9880:9880" # - "9880:9880"
networks: networks:
- sofd-net - sofd-net
depends_on: depends_on:
- opensearch - opensearch
deploy:
replicas: 1
placement:
constraints:
- node.hostname == macmini8
# labels:
# traefik.enable: "false"
deploy:
replicas: 1
placement:
constraints:
- node.hostname == macmini8
labels:
traefik.enable: "false"
labels:
homepage.group: apps
homepage.name: sofd-fluentd
homepage.href: https://sofd-fluentd.nixc.us/
homepage.description: sofd-fluentd
traefik.enable: "true"
traefik.http.routers.staging_sofd_fluentd.tls: "true"
traefik.http.services.staging_sofd_fluentd.loadbalancer.server.port: "9880"
traefik.http.routers.staging_sofd_fluentd.rule: Host(`staging.sofd-fluentd.nixc.us`)
traefik.http.routers.staging_sofd_fluentd.entrypoints: websecure
traefik.http.routers.staging_sofd_fluentd.tls.certresolver: letsencryptresolver
traefik.http.routers.staging_sofd_fluentd.service: staging_sofd_fluentd
traefik.docker.network: traefik
opensearch-dashboards: opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2.11.1 image: opensearchproject/opensearch-dashboards:2.11.1
environment: environment:
@ -41,4 +75,24 @@ services:
networks: networks:
- sofd-net - sofd-net
depends_on: depends_on:
- opensearch - opensearch
deploy:
replicas: 1
placement:
constraints:
- node.hostname == macmini8
labels:
traefik.enable: "false"
labels:
homepage.group: apps
homepage.name: sofd-opensearch
homepage.href: https://sofd-opensearch.nixc.us/
homepage.description: sofd-opensearch
traefik.enable: "true"
traefik.http.routers.staging_sofd_opensearch-dashboards.tls: "true"
traefik.http.services.staging_sofd_opensearch-dashboards.loadbalancer.server.port: "9200"
traefik.http.routers.staging_sofd_opensearch-dashboards.rule: Host(`staging.sofd-opensearch.nixc.us`)
traefik.http.routers.staging_sofd_opensearch-dashboards.entrypoints: websecure
traefik.http.routers.staging_sofd_opensearch-dashboards.tls.certresolver: letsencryptresolver
traefik.http.routers.staging_sofd_opensearch-dashboards.service: staging_sofd_opensearch-dashboards
traefik.docker.network: traefik