Skip to content

Commit

Permalink
disable docs container and add other port
Browse files Browse the repository at this point in the history
  • Loading branch information
beasteers committed Nov 4, 2023
1 parent 1538632 commit 1b8ddcd
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ services:
restart: always
ports:
- "3000:80"
- "8033:80"
networks:
- web
- default
Expand All @@ -17,24 +18,24 @@ services:
- "traefik.http.routers.tim-dash.tls.certresolver=le"
- "traefik.http.routers.tim-dash.tls=true"
- "traefik.http.services.tim-dash.loadbalancer.server.port=80"
docs:
container_name: dashdocs
restart: always
ports:
- "8034:80"
networks:
- web
- default
build:
context: .
dockerfile: ./Dockerfile.docs
labels:
- "traefik.enable=true"
- "traefik.http.routers.tim-dash-rtd.rule=Host(`dashboard-rtd.${DOMAIN}`)"
- "traefik.http.routers.tim-dash-rtd.entrypoints=websecure"
- "traefik.http.routers.tim-dash-rtd.tls.certresolver=le"
- "traefik.http.routers.tim-dash-rtd.tls=true"
- "traefik.http.services.tim-dash-rtd.loadbalancer.server.port=80"
# docs:
# container_name: dashdocs
# restart: always
# ports:
# - "8034:80"
# networks:
# - web
# - default
# build:
# context: .
# dockerfile: ./Dockerfile.docs
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.tim-dash-rtd.rule=Host(`dashboard-rtd.${DOMAIN}`)"
# - "traefik.http.routers.tim-dash-rtd.entrypoints=websecure"
# - "traefik.http.routers.tim-dash-rtd.tls.certresolver=le"
# - "traefik.http.routers.tim-dash-rtd.tls=true"
# - "traefik.http.services.tim-dash-rtd.loadbalancer.server.port=80"

networks:
web:
Expand Down

0 comments on commit 1b8ddcd

Please sign in to comment.