chore: update docker config with shorter domain and switch to expose port 3000

This commit is contained in:
knight 2025-05-17 16:03:35 -04:00
parent c4df4ccc33
commit ad41ebe2a9

View File

@ -1,12 +1,12 @@
version: '3.8'
version: '3.3'
services:
library-manager:
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
expose:
- "3000"
environment:
- NODE_ENV=production
- GOOGLE_BOOKS_API_KEY=${GOOGLE_BOOKS_API_KEY}
@ -22,7 +22,7 @@ services:
labels:
- "traefik.enable=true"
- "traefik.http.routers.library-manager.entrypoints=https"
- "traefik.http.routers.library-manager.rule=Host(`library.ghost.tel`)"
- "traefik.http.routers.library-manager.rule=Host(`lib.ghost.tel`)"
- "traefik.http.routers.library-manager.tls.certresolver=http"
networks:
- web