diff --git a/docker-compose.yml b/docker-compose.yml index 16f97f2..2dc6648 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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