Skip to content

Commit

Permalink
Merge pull request #1 from steinimo/add-env-files
Browse files Browse the repository at this point in the history
add placeholder .env files
  • Loading branch information
steinimo authored Jun 22, 2024
2 parents c350fef + 9cfb5ac commit 33f2fb9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
14 changes: 14 additions & 0 deletions hanoi-backend/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# KTOR
KTOR_ENV=dev

# JWT
JWT_DOMAIN=hanoi-towers
JWT_AUDIENCE=hanoi-towers
JWT_REALM=hanoi-towers
JWT_SECRET=${JWT_SECRET}

# Databse
DATABASE_URL=jdbc:h2:mem:test
DATABASE_DRIVER=org.h2.Drive
DATABASE_USER=root
DATABASE_PASSWORD=${DB_PASSWORD}
2 changes: 2 additions & 0 deletions hanoi-database/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MYSQL_ROOT_PASSWORD=${DB_PASSWORD}
MYSQL_USER=hanoi_db_user
7 changes: 7 additions & 0 deletions hanoi-frontend/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ENVIRONMENT=DEV
HANOI_FRONTEND_URL=${HANOI_FRONTEND_URL}
HANOI_FRONTEND_PORT=8080
HANOI_BACKEND_URL=${HANOI_FRONTEND_URL}
HANOI_BACKEND_PORT=8081

APACHE_LOG_DIR=/var/log/apache2/hanoi

0 comments on commit 33f2fb9

Please sign in to comment.