Skip to content

Commit 95b25c3

Browse files
committed
simplify self-host setup
1 parent cfcc570 commit 95b25c3

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.env.template

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
POSTGRES_PORT=5432
33
KEYCLOAK_PORT=8080
44
CODER_PORT=7080
5-
APP_PORT=9090
5+
APP_PORT=8000
66

77
# Database Configuration
88
POSTGRES_USER=admin
@@ -24,7 +24,3 @@ CODER_ADDITIONAL_CSP_POLICY=frame-ancestors *
2424
CODER_API_KEY=your_coder_api_key
2525
CODER_TEMPLATE_ID=your_template_id
2626
CODER_DEFAULT_ORGANIZATION=your_organization_id
27-
28-
# PAD Configuration
29-
STATIC_DIR=/app/frontend/dist
30-
ASSETS_DIR=/app/frontend/assets

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ services:
6161
image: ghcr.io/pad-ws/pad.ws:main
6262
container_name: pad
6363
environment:
64-
- STATIC_DIR=${STATIC_DIR}
65-
- ASSETS_DIR=${ASSETS_DIR}
64+
- STATIC_DIR=/app/frontend/dist
65+
- ASSETS_DIR=/app/frontend/dist/assets
6666
- OIDC_CLIENT_ID=${OIDC_CLIENT_ID}
6767
- OIDC_CLIENT_SECRET=${OIDC_CLIENT_SECRET}
6868
- OIDC_SERVER_URL=http://localhost:${KEYCLOAK_PORT}

0 commit comments

Comments
 (0)