🪢Removed traefik

This commit is contained in:
2021-11-10 14:07:42 -08:00
parent c5845a55cb
commit 9e39448545

View File

@@ -20,7 +20,7 @@ services:
- db - db
- redis - redis
- nats - nats
- traefik # - traefik
- importapi - importapi
- import - import
- imagetransformation - imagetransformation
@@ -173,45 +173,30 @@ services:
ports: ports:
- 9200:9200 - 9200:9200
entsearch: # traefik:
image: docker.elastic.co/enterprise-search/enterprise-search:7.10.0 # image: traefik:2.3.4
depends_on: # restart: unless-stopped
- "elasticsearch" # container_name: traefik
environment: # hostname: traefik
- "ENT_SEARCH_DEFAULT_PASSWORD=password" # command:
- "elasticsearch.username=elastic" # - "--log.level=DEBUG"
- "elasticsearch.password=password" # - "--api.insecure=true"
- "elasticsearch.host=http://elasticsearch:9200" # - "--providers.docker=true"
- "allow_es_settings_modification=true" # - "--providers.docker.watch=true"
- "secret_management.encryption_keys=[4a2cd3f81d39bf28738c10db0ca782095ffac07279561809eecc722e0c20eb09]" # - "--providers.docker.exposedbydefault=false"
- "elasticsearch.startup_retry.interval=15" # - "--entrypoints.web.address=:80"
ports: # labels:
- 3002:3002 # - "traefik.enable=true"
# - "traefik.http.routers.traefik.rule=Host(`traefik.localhost`)"
traefik: # - "traefik.http.routers.traefik.service=api@internal"
image: traefik:2.3.4 # networks:
restart: unless-stopped # - proxy
container_name: traefik # ports:
hostname: traefik # - 80:80
command: # - 8080:8080
- "--log.level=DEBUG" # - 443:443
- "--api.insecure=true" # volumes:
- "--providers.docker=true" # - /var/run/docker.sock:/var/run/docker.sock
- "--providers.docker.watch=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
labels:
- "traefik.enable=true"
- "traefik.http.routers.traefik.rule=Host(`traefik.localhost`)"
- "traefik.http.routers.traefik.service=api@internal"
networks:
- proxy
ports:
- 80:80
- 8080:8080
- 443:443
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks: networks: