feature: Update compose file to use registry image

📄 docs: Update readme
This commit is contained in:
Keith Solomon
2025-02-09 19:16:10 -06:00
parent ae3aca120f
commit c8c40ee515
2 changed files with 34 additions and 21 deletions

View File

@@ -2,28 +2,12 @@ services:
app:
container_name: BillTrak
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
# depends_on:
# - redis
# environment:
# - REDIS_HOST=redis
# - REDIS_PORT=6379
image: ghcr.io/solo-web-works/billtrak:main
ports:
- "8888:80" # Map port 8080 on the host to port 80 in the container
- "8888:80" # Map port 8888 on the host to port 80 in the container. Change the left side to change the host port.
volumes:
- .:/var/www/html # Mount the current directory for live development
# Mount the current directory for live development
# - .:/var/www/html
- ./data/bills.db:/var/www/html/data/bills.db # Persist SQLite data
# redis:
# container_name: redis
# restart: unless-stopped
# image: redis:latest
# ports:
# - "6379:6379"