Skip to content

Commit

Permalink
feat: forestadmin lumber init
Browse files Browse the repository at this point in the history
  • Loading branch information
Z-a-r-a-k-i committed Feb 27, 2020
1 parent ece2379 commit c8eb822
Show file tree
Hide file tree
Showing 76 changed files with 7,704 additions and 1 deletion.
17 changes: 16 additions & 1 deletion deployments/platform-dev/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,23 @@ services:
- MYSQL_PASSWORD
- MYSQL_USER
- MYSQL_DATABASE=pathwar
networks:
- internal

forestadmin:
build:
context: ../../tool/forestadmin
dockerfile: Dockerfile
environment:
- APPLICATION_PORT=3310
- DATABASE_URL=mysql://$MYSQL_USER:$MYSQL_PASSWORD@db:3306/pathwar
- DATABASE_SSL=false
- FOREST_AUTH_SECRET
- FOREST_ENV_SECRET
ports:
- 3306:3306
- "3310:3310"
volumes:
- ../../tool/forestadmin/:/usr/src/app
networks:
- internal

Expand Down
3 changes: 3 additions & 0 deletions tool/forestadmin/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
npm-debug.log
.env
9 changes: 9 additions & 0 deletions tool/forestadmin/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
APPLICATION_PORT=3310

CORS_ORIGINS=

DATABASE_URL=mysql://root:password@localhost:3306/pathwar
DATABASE_SSL=false

FOREST_AUTH_SECRET=
FOREST_ENV_SECRET=
Loading

0 comments on commit c8eb822

Please sign in to comment.