Skip to content

Commit

Permalink
Update build files.
Browse files Browse the repository at this point in the history
  • Loading branch information
elarsaks committed Aug 7, 2023
1 parent 5573b47 commit 1edda15
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose-prod-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ services:
environment:
- PORT=8080
- COMMAND=air
- MINER_HOST=miner-1
volumes:
- .:/app
restart: unless-stopped
Expand All @@ -27,6 +28,7 @@ services:
environment:
- COMMAND=air
- PORT=5001
- MINER_HOST=miner
volumes:
- .:/app
restart: unless-stopped
Expand All @@ -39,6 +41,7 @@ services:
environment:
- COMMAND=air
- PORT=5002
- MINER_HOST=miner
volumes:
- .:/app
restart: unless-stopped
Expand All @@ -51,6 +54,7 @@ services:
environment:
- COMMAND=air
- PORT=5003
- MINER_HOST=miner
volumes:
- .:/app
restart: unless-stopped
4 changes: 4 additions & 0 deletions docker-compose-prod-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
- DOCKER_REGISTRY_SERVER_USERNAME=${DOCKER_REGISTRY_SERVER_USERNAME}
- DOCKER_REGISTRY_SERVER_URL=${DOCKER_REGISTRY_SERVER_URL}
- DOCKER_REGISTRY_SERVER_PASSWORD=${DOCKER_REGISTRY_SERVER_PASSWORD}
- MINER_HOST=miner-1
restart: unless-stopped

miner-1:
Expand All @@ -26,6 +27,7 @@ services:
- DOCKER_REGISTRY_SERVER_USERNAME=${DOCKER_REGISTRY_SERVER_USERNAME}
- DOCKER_REGISTRY_SERVER_URL=${DOCKER_REGISTRY_SERVER_URL}
- DOCKER_REGISTRY_SERVER_PASSWORD=${DOCKER_REGISTRY_SERVER_PASSWORD}
- MINER_HOST=miner
restart: unless-stopped

miner-2:
Expand All @@ -39,6 +41,7 @@ services:
- DOCKER_REGISTRY_SERVER_USERNAME=${DOCKER_REGISTRY_SERVER_USERNAME}
- DOCKER_REGISTRY_SERVER_URL=${DOCKER_REGISTRY_SERVER_URL}
- DOCKER_REGISTRY_SERVER_PASSWORD=${DOCKER_REGISTRY_SERVER_PASSWORD}
- MINER_HOST=miner
restart: unless-stopped

miner-3:
Expand All @@ -52,4 +55,5 @@ services:
- DOCKER_REGISTRY_SERVER_USERNAME=${DOCKER_REGISTRY_SERVER_USERNAME}
- DOCKER_REGISTRY_SERVER_URL=${DOCKER_REGISTRY_SERVER_URL}
- DOCKER_REGISTRY_SERVER_PASSWORD=${DOCKER_REGISTRY_SERVER_PASSWORD}
- MINER_HOST=miner
restart: unless-stopped

0 comments on commit 1edda15

Please sign in to comment.