chore: update docker config with shorter domain and switch to expose port 3000
This commit is contained in:
parent
c4df4ccc33
commit
ad41ebe2a9
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user