Skip to content

Commit

Permalink
Changing default back to cloud-built.
Browse files Browse the repository at this point in the history
  • Loading branch information
robotrapta committed Dec 7, 2023
1 parent 675d4fb commit a560e5d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,13 @@ There are several ways to deploy the code:

1. Use the file [`docker-compose.yml`](./deploy/docker-compose.yml).

2. Run `docker-compose up` in the same directory as the `docker-compose.yml` file. This will build the docker images from source and then run them. If you'd rather use pre-built images, you can do this with `docker-compose up -f docker-compose-prebuilt.yml` but pre-built images aren't currently available on all platforms, and may lag behind the latest source code here.
2. Run `docker-compose up` in the same directory as the `docker-compose.yml` file. This will use pre-built images from dockerhub. The images are automatically built from this repo.

> If you're using Docker Compose v2, replace `docker-compose` with `docker compose`.
**Troubleshooting**

If you're using Docker Compose v2, replace `docker-compose` with `docker compose`.

If the pre-built images don't work for you, you can try `docker-compose up -f docker-compose-localbuild.yml` to rebuild locally from source.

### Running from Docker Compose on 32-bit ARM (armv7)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
services:
frontend:
image: docker.io/groundlight/monitoring-notification-server-frontend:latest
build:
context: ..
dockerfile: frontend.Dockerfile
ports:
- "3000:3000"
depends_on:
- backend
backend:
image: docker.io/groundlight/monitoring-notification-server-backend:latest
build:
context: ..
dockerfile: backend.Dockerfile
ports:
- "8000:8000"
devices:
Expand Down
8 changes: 2 additions & 6 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
services:
frontend:
build:
context: ..
dockerfile: frontend.Dockerfile
image: docker.io/groundlight/monitoring-notification-server-frontend:latest
ports:
- "3000:3000"
depends_on:
- backend
backend:
build:
context: ..
dockerfile: backend.Dockerfile
image: docker.io/groundlight/monitoring-notification-server-backend:latest
ports:
- "8000:8000"
devices:
Expand Down

0 comments on commit a560e5d

Please sign in to comment.