chore: update docker config with shorter domain and switch to expose port 3000
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
version: '3.8'
|
version: '3.3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
library-manager:
|
library-manager:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
ports:
|
expose:
|
||||||
- "3000:3000"
|
- "3000"
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- GOOGLE_BOOKS_API_KEY=${GOOGLE_BOOKS_API_KEY}
|
- GOOGLE_BOOKS_API_KEY=${GOOGLE_BOOKS_API_KEY}
|
||||||
@@ -22,7 +22,7 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.library-manager.entrypoints=https"
|
- "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"
|
- "traefik.http.routers.library-manager.tls.certresolver=http"
|
||||||
networks:
|
networks:
|
||||||
- web
|
- web
|
||||||
|
|||||||
Reference in New Issue
Block a user