refactor: rename project from wedding-photo-sharing to PicPeak
- Update Docker image names and network configurations - Rename package.json project names to picpeak-backend/frontend - Update CI/CD configurations (Drone CI and GitHub Actions) - Update documentation and setup scripts - Update application branding in source code - Change default database name to picpeak - Update PM2 ecosystem config 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -3,7 +3,7 @@ version: '3.8'
|
||||
|
||||
services:
|
||||
backend:
|
||||
image: photo-sharing-backend:latest
|
||||
image: picpeak-backend:latest
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
@@ -27,10 +27,10 @@ services:
|
||||
- ./data:/app/data
|
||||
- ./logs:/app/logs
|
||||
networks:
|
||||
- photo-sharing
|
||||
- picpeak
|
||||
|
||||
frontend:
|
||||
image: photo-sharing-frontend:latest
|
||||
image: picpeak-frontend:latest
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
@@ -38,7 +38,7 @@ services:
|
||||
depends_on:
|
||||
- backend
|
||||
networks:
|
||||
- photo-sharing
|
||||
- picpeak
|
||||
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
@@ -55,7 +55,7 @@ services:
|
||||
- frontend
|
||||
- backend
|
||||
networks:
|
||||
- photo-sharing
|
||||
- picpeak
|
||||
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
|
||||
|
||||
certbot:
|
||||
@@ -72,11 +72,11 @@ services:
|
||||
environment:
|
||||
- POSTGRES_USER=${DB_USER:-photoapp}
|
||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
- POSTGRES_DB=${DB_NAME:-photo_sharing}
|
||||
- POSTGRES_DB=${DB_NAME:-picpeak}
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- photo-sharing
|
||||
- picpeak
|
||||
|
||||
umami:
|
||||
image: ghcr.io/umami-software/umami:postgresql-latest
|
||||
@@ -88,10 +88,10 @@ services:
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
- photo-sharing
|
||||
- picpeak
|
||||
|
||||
networks:
|
||||
photo-sharing:
|
||||
picpeak:
|
||||
driver: bridge
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user