Squashed 'bridges/' content from commit 062554430

git-subtree-dir: bridges
git-subtree-split: 0625544309ff299307f7e110f252f04eac383102
This commit is contained in:
Branislav Kontur committed 2022-12-01 22:32:52 +01:00
commit d2b7ee2575
357 files changed
+79920

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
# bridges-ui
This is a Bridges UI docker configuration file. The source of the Bridges UI code
can be found in [the repository](https://github.com/paritytech/parity-bridges-ui).
The CI should create and publish a docker image that is used by this configuration
file, so that the code is always using the latest version.
The UI is configured to point to local Rialto and Millau nodes to retrieve the require
data.
This image can be used together with `nginx-proxy` to expose the UI externally. See
`VIRTUAL_*` and `LETSENCRYPT_*` environment variables.
After start the UI is available at `http://localhost:8080`
## How to?
In current directory:
```bash
docker-compose up -d
```
Then start `rialto` & `millau` networks with the same command (one folder up) or
run the full setup by using `../run.sh` script.
+13
View File
@@ -0,0 +1,13 @@
version: '3.5'
services:
bridges-ui:
image: paritytech/parity-bridges-ui
environment:
VIRTUAL_HOST: ui.brucke.link
VIRTUAL_PORT: 80
LETSENCRYPT_HOST: ui.brucke.link
LETSENCRYPT_EMAIL: admin@parity.io
CHAIN_1_SUBSTRATE_PROVIDER: ${UI_CHAIN_1:-ws://localhost:9944}
CHAIN_2_SUBSTRATE_PROVIDER: ${UI_CHAIN_2:-ws://localhost:19944}
ports:
- "8080:80"