Your favorite shift management application!
chore: update Docker configuration by removing example override file and ensuring ports are defined in the main docker-compose file
panteLxf3cd3a8f8d76
diff --git a/README.md b/README.mdindex c60b7fa..fe3f847 100644--- a/README.md+++ b/README.md@@ -57,25 +57,17 @@ A modern shift management application built with Next.js and SQLite. BetterShift### Docker Deployment-1. **Create override configuration**-- ```bash- cp docker-compose.override.yml.example docker-compose.override.yml- ```-- Edit `docker-compose.override.yml` to customize ports or other settings.-2. **Build and run with Docker Compose**```bash- docker-compose up -d --build+ docker-compose up -d# Generate and apply database migrationsdocker compose exec bettershift npm run db:migrate```3. **Access the application**- The application will be available at the port specified in your override file (default: 3000)+ The application will be available at the port specified in your docker-compose file (default: 3000)### Building for Production@@ -111,7 +103,7 @@ Contributions are welcome! Please feel free to submit a Pull Request.## License-This project is private and not yet licensed for public use.+This project is licensed under the MIT License.## Supportdiff --git a/docker-compose.override.yml.example b/docker-compose.override.yml.exampledeleted file mode 100644index 6e9a653..0000000--- a/docker-compose.override.yml.example+++ /dev/null@@ -1,35 +0,0 @@-# Docker Compose Override-# The override file is ignored by git and will not be overwritten--services:- bettershift:- # Change the port mapping- ports:- - "3000:3000"-- # Connect to external proxy network- # networks:- # - proxy-network-- # Add additional environment variables- # environment:- # - NODE_ENV=production- # - CUSTOM_VAR=value-- # Mount additional volumes- # volumes:- # - ./custom-config:/app/config-- # Override restart policy- # restart: always-- # Add resource limits- # deploy:- # resources:- # limits:- # cpus: '0.5'- # memory: 512M-# Network configuration-# networks:-# proxy-network:-# external: truediff --git a/docker-compose.yml b/docker-compose.ymlindex 689bfa1..2a794c0 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -1,16 +1,15 @@services:bettershift:- # Use the following line to pull the image from GitHub Container Registry- # image: ghcr.io/pantelx/bettershift:latest+ image: ghcr.io/pantelx/bettershift:latest# Or build the image locally using the Dockerfile- build:- context: .- dockerfile: Dockerfile+ # build:+ # context: .+ # dockerfile: Dockerfilecontainer_name: bettershiftrestart: unless-stopped- # Ports are defined in the override file+ ports:+ - "3000:3000"volumes:- # Mount data directory for persistent SQLite database- ./data:/app/dataenvironment:- NODE_ENV=production