Skip to content

Commit

Permalink
Use upstream Sourcify image locally
Browse files Browse the repository at this point in the history
Signed-off-by: Luis Mastrangelo <[email protected]>
  • Loading branch information
acuarica committed Apr 24, 2024
1 parent 2d4c87f commit 0d9b6de
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,20 @@ From the root of the project workspace:

### Run

- Run `docker-compose -f environments/repository.yaml up -d`. This will start repository service.
- Run `npm run server:start`. This will start the server.
- In a different terminal, run `cd ui; npm run start`. This will start and bring up the UI.
To start the repository service, run

```sh
docker compose --file environments/docker-compose-hedera.yaml up --detach repository
```

Run `npm run server:start`. This will start the server.

To start and bring up the UI, run in a different terminal

```sh
cd ui
npm run start
```

### Sanity check the configuration

Expand Down Expand Up @@ -131,7 +142,7 @@ Run `docker-compose -f environments/build-repository.yaml build`.

### Run

1. Run `docker-compose -f environments/docker-compose-hedera.yaml up -d repository server ui`
1. Run `docker compose --file environments/docker-compose-hedera.yaml up --detach repository server ui`
2. Open <http://localhost:1234> to bring up the Verifier page.

### Stop
Expand Down
15 changes: 2 additions & 13 deletions environments/docker-compose-hedera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:

repository:
<<: *project-base
image: ghcr.io/hashgraph/hedera-sourcify:repository-${TAG}
image: ghcr.io/ethereum/sourcify/repository:${TAG}
container_name: repository-${TAG}
volumes:
- type: bind
Expand All @@ -28,7 +28,7 @@ services:

server:
<<: *project-base
image: ghcr.io/hashgraph/hedera-sourcify:server-${TAG}
image: ghcr.io/ethereum/sourcify/server:${TAG}
container_name: server-${TAG}
ports:
- "${SERVER_EXTERNAL_PORT}:${SERVER_PORT}"
Expand Down Expand Up @@ -66,14 +66,3 @@ services:
target: /usr/share/nginx/html/config.json
ports:
- "${UI_EXTERNAL_PORT}:80"

nginx-service:
container_name: nginx-container
image: nginx
restart: always
volumes:
- ../nginx/conf/nginx.conf:/etc/nginx/conf.d/default.conf
- ../../certificate:/etc/nginx/certificate
ports:
- "80:80"
- "443:443"

0 comments on commit 0d9b6de

Please sign in to comment.