Skip to content

Commit

Permalink
Adding conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
MoD committed Nov 22, 2018
1 parent edf4f78 commit 6f29ee6
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
COMPOSE_PROJECT_NAME=mikro
COMPOSE_FILE=compose/app.yaml:compose/backend.yaml:compose/gateway.yaml:compose/proxy.yaml:compose/utils.yaml
COMPOSE_FILE=compose/app.yaml:compose/backend.yaml:compose/daemons.yaml:compose/gateway.yaml:compose/proxy.yaml:compose/utils.yaml:compose/cryptonodes.yaml
18 changes: 1 addition & 17 deletions compose/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ services:
- db
- redis
- rabbitmq
# - ranger
# - geth
- geth
env_file:
- ../config/peatio.env
expose:
Expand Down Expand Up @@ -44,18 +43,3 @@ services:
- "8001:8001"
volumes:
- ../config/keys:/secrets:ro

mikroapp:
image: node:11
volumes:
- ../../mikroapp:/home/node
command:
- sh
- -c
- |
cd /home/node
yarn start
labels:
traefik.enable: true
traefik.frontend.rule: 'Host: www.wb.local'
traefik.port: 3000
31 changes: 31 additions & 0 deletions compose/frontend.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: '3.6'

services:
frontend:
image: node:11
volumes:
- ../vendor/frontend:/home/node
command:
- sh
- -c
- |
cd /home/node
yarn start
labels:
traefik.enable: true
traefik.frontend.rule: 'Host: www.wb.local'
traefik.port: 3000
control-tower:
image: node:11
volumes:
- ../vendor/control-panel:/home/node
command:
- sh
- -c
- |
cd /home/node
yarn start
labels:
traefik.enable: true
traefik.frontend.rule: 'Host: admin.wb.local'
traefik.port: 3000
Empty file added vendor/.gitkeep
Empty file.

0 comments on commit 6f29ee6

Please sign in to comment.