Skip to content

Commit

Permalink
fix docker-compose to rebuild & preview
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulBernal committed Oct 29, 2024
1 parent 007ff8c commit abcd459
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 24 deletions.
8 changes: 0 additions & 8 deletions docker-compose.bitcanna-1.yml

This file was deleted.

8 changes: 0 additions & 8 deletions docker-compose.devnet-1.yml

This file was deleted.

8 changes: 0 additions & 8 deletions docker-compose.devnet-6.yml

This file was deleted.

35 changes: 35 additions & 0 deletions docker-compose.yml
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"]

0 comments on commit abcd459

Please sign in to comment.