-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix docker-compose to rebuild & preview
- Loading branch information
1 parent
007ff8c
commit abcd459
Showing
4 changed files
with
35 additions
and
24 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#docker-compose --profile bitcanna-1 up -d | ||
#docker-compose --profile devnet-1 up -d | ||
#docker-compose --profile devnet-6 up -d | ||
version: '3.9' | ||
services: | ||
app: | ||
image: bernalraul/webwallet:latest | ||
volumes: | ||
- ./cosmos.config.bitcanna-1.js:/app/cosmos.config.js | ||
ports: | ||
- "3000:3000" | ||
profiles: | ||
- bitcanna-1 | ||
|
||
app-devnet-1: | ||
image: bernalraul/webwallet:latest | ||
container_name: webwallet_devnet-1 | ||
profiles: | ||
- devnet-1 | ||
volumes: | ||
- ./cosmos.config.devnet-1.js:/app/cosmos.config.js | ||
ports: | ||
- "3000:3000" | ||
command: ["sh", "-c", "yarn build && yarn preview --host 0.0.0.0"] | ||
|
||
app-devnet-6: | ||
image: bernalraul/webwallet:latest | ||
container_name: webwallet_devnet-6 | ||
profiles: | ||
- devnet-6 | ||
volumes: | ||
- ./cosmos.config.devnet-6.js:/app/cosmos.config.js | ||
ports: | ||
- "3000:3000" | ||
command: ["sh", "-c", "yarn build && yarn preview --host 0.0.0.0"] |