diff --git a/docker-compose.yml b/docker-compose.yml index 3cf5efb..be51ff6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,8 +10,8 @@ services: NEXT_PUBLIC_LINKEDIN_URL: ${NEXT_PUBLIC_LINKEDIN_URL:-} NEXT_PUBLIC_GITHUB_URL: ${NEXT_PUBLIC_GITHUB_URL:-} container_name: ${CONTAINER_NAME:-diyaa} - expose: - - "3000" + ports: + - "127.0.0.1:30002:3000" environment: NODE_ENV: ${NODE_ENV:-production} PORT: 3000 @@ -28,18 +28,4 @@ services: timeout: 5s retries: 5 start_period: 20s - restart: unless-stopped - - nginx: - image: nginx:stable-alpine - container_name: nginx - depends_on: - - web - ports: - - "80:80" - - "443:443" - volumes: - - ./default.conf:/etc/nginx/conf.d/default.conf:ro - - ./certbot/www:/var/www/certbot:ro - - ./certbot/conf:/etc/letsencrypt:ro restart: unless-stopped \ No newline at end of file