Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 1.51 KB
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (35 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '3.1'
services:
bracket-frontend:
image: ghcr.io/evroon/bracket-frontend
container_name: bracket-frontend
ports:
- "3000:3000"
environment:
NEXT_PUBLIC_API_BASE_URL: "http://localhost:8400"
NEXT_PUBLIC_HCAPTCHA_SITE_KEY: "de5be59d-4171-4135-8c89-a549fdeaf3b6" # Public test key
restart: unless-stopped
bracket-backend:
image: ghcr.io/evroon/bracket-backend
container_name: bracket-backend
ports:
- "8400:8400"
environment:
ENVIRONMENT: "PRODUCTION"
PG_DSN: "postgresql://default:qb0wRci3QsYX@ep-tight-bonus-209614-pooler.us-east-1.postgres.vercel-storage.com:5432/no-table-tennis-tournament-dev"
jwt_secret: "3895y6vb928vy220894ytuv24iuyf2od23xxb32ghr7i5y2aw32av5aqvcqf44tq"
CORS_ORIGINS: "http://tournaments-api.rankit.no, http://localhost:3000"
# CORS_ORIGIN_REGEX: "https://.*\.vercel\.app"
SENTRY_DSN: "https://e5bd1e2f9f3484e84892909de54e397e@o4506953854484480.ingest.us.sentry.io/4506953858678784"
ALLOW_USER_REGISTRATION: false
ALLOW_INSECURE_HTTP_SSO: false
CAPTCHA_SECRET: "de5be59d-4171-4135-8c89-a549fdeaf3b6"
AUTO_RUN_MIGRATIONS: true
restart: unless-stopped
# postgres:
# image: postgres
# restart: always
# environment:
# POSTGRES_DB: bracket_dev
# POSTGRES_USER: bracket_dev
# POSTGRES_PASSWORD: bracket_dev