Skip to content

Commit 13b1514

Browse files
committed
chore: add-docker-setup
1 parent b7e0f5b commit 13b1514

13 files changed

Lines changed: 67862 additions & 0 deletions

javascript/.dockerignore

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Dependencies
2+
node_modules
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
7+
# Build outputs
8+
dist
9+
build
10+
public/bundle*.js
11+
public/bundle*.js.map
12+
.angular
13+
*.tsbuildinfo
14+
15+
# Environment and secrets
16+
# .env
17+
# .env.local
18+
# .env.*.local
19+
20+
# Logs
21+
logs
22+
*.log
23+
24+
# Test coverage
25+
coverage
26+
.nyc_output
27+
28+
# Editor directories
29+
.vscode
30+
.idea
31+
*.swp
32+
*.swo
33+
*~
34+
35+
# OS files
36+
.DS_Store
37+
Thumbs.db
38+
39+
# Git
40+
.git
41+
.gitignore
42+
43+
# Docker
44+
Dockerfile*
45+
docker-compose*.yml
46+
.dockerignore
47+
48+
# Documentation
49+
*.md
50+
!README.md
51+
52+
# Test files
53+
e2e
54+
*.spec.ts
55+
*.spec.js
56+
test
57+
tests
58+
59+
# PouchDB databases
60+
todos
61+
users
62+
63+
# Misc
64+
.cache
65+
tmp
66+
temp

javascript/.env.example

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Docker Environment Configuration
2+
# Copy this file to .env and configure for your environment
3+
# Docker Compose will automatically load this file
4+
5+
# ============================================================
6+
# Todo API Configuration
7+
# ============================================================
8+
PORT=9443
9+
NODE_ENV=production
10+
11+
# PingOne Advanced Identity Cloud / PingAM Configuration
12+
AM_URL=https://your-instance.forgeblocks.com/am
13+
REALM_PATH=/alpha
14+
WEB_OAUTH_CLIENT=your-oauth-client-id
15+
DEBUGGER_OFF=false
16+
17+
# ============================================================
18+
# Frontend App Build Configuration
19+
# ============================================================
20+
# These variables are baked into frontend builds at build time
21+
# If using .env for individual apps, place them in each app directory
22+
# Example: reactjs-todo/.env, angular-todo/.env, etc.
23+
24+
# For PingOne AIC/AM apps:
25+
# SERVER_URL=https://your-instance.forgeblocks.com/am
26+
# REALM_PATH=/alpha
27+
# WEB_OAUTH_CLIENT=your-oauth-client-id
28+
# JOURNEY_LOGIN=Login
29+
# JOURNEY_REGISTER=Registration
30+
# DEBUGGER_OFF=false
31+
# APP_URL=https://localhost:8443
32+
# API_URL=http://localhost:9443
33+
34+
# For PingOne DaVinci apps:
35+
# VITE_DAVINCI_URL=https://auth.pingone.com/<environment-id>/davinci/v1
36+
# VITE_COMPANY_ID=your-company-id
37+
# VITE_API_KEY=your-api-key
38+
# VITE_POLICY_ID=your-policy-id

0 commit comments

Comments
 (0)