Merge branch 'dev' of https://github.com/Ryderjj89/rsvp-manager into dev
This commit is contained in:
18
README.md
18
README.md
@@ -54,11 +54,21 @@ This project was created completely by the [Cursor AI Code Editor](https://www.c
|
||||
|
||||
### Installation
|
||||
|
||||
#### Branch Selection
|
||||
|
||||
There are 2 branches, latest & dev.
|
||||
|
||||
| Branch | Description |
|
||||
| ------------- | ------------- |
|
||||
| Latest | The most recent stable build. Use this if you don't like to get changes early. |
|
||||
| Dev | Use this if you want to be on the cutting edge, can be unstable. |
|
||||
|
||||
#### Docker Compose
|
||||
|
||||
1. Clone the repository
|
||||
2. Run `docker compose up -d` to start the application
|
||||
3. Access the application at `http://localhost:3000`
|
||||
1. Clone the repository.
|
||||
2. Edit the `docker-compose.yml` for the tag you'd like to use, then save it.
|
||||
3. Run `docker compose up -d` to start the application.
|
||||
4. Access the application at `http://localhost:3000`.
|
||||
|
||||
#### Docker Run
|
||||
|
||||
@@ -72,7 +82,7 @@ docker run -d --name rsvp-manager \
|
||||
-v rsvp-manager_uploads:/app/uploads \
|
||||
-e NODE_ENV=production \
|
||||
--restart unless-stopped \
|
||||
ryderjj89/rsvp-manager:latest
|
||||
ryderjj89/rsvp-manager:<CHANGE THIS TAG!>
|
||||
```
|
||||
2. Access the application at `http://localhost:3000`
|
||||
|
||||
|
||||
18
docker-compose-build.yml
Normal file
18
docker-compose-build.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
services:
|
||||
app:
|
||||
container_name: rsvp_manager
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- data:/app
|
||||
- uploads:/app/uploads
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
data:
|
||||
uploads:
|
||||
@@ -1,9 +1,7 @@
|
||||
services:
|
||||
app:
|
||||
container_name: rsvp_manager-dev
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: rsvp_manager
|
||||
image: ryderjj89/rsvp-manager:latest
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
@@ -15,4 +13,4 @@ services:
|
||||
|
||||
volumes:
|
||||
data:
|
||||
uploads:
|
||||
uploads:
|
||||
|
||||
Reference in New Issue
Block a user