refactor api
This commit is contained in:
@@ -10,13 +10,14 @@ services:
|
||||
volumes:
|
||||
- ./src:/app/src
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
- NODE_ENV=production
|
||||
- DATABASE_URL=postgresql://your_username:your_password@10.0.27.1:5432/epess
|
||||
- CLERK_PUBLISHABLE_KEY=pk_test_aW4tY2hpbXAtOTcuY2xlcmsuYWNjb3VudHMuZGV2JA
|
||||
- CLERK_SECRET_KEY=sk_test_sA5lsb1GHwUNXWQCp5ev70QkaoF5EmdAHNWiCGwZF6
|
||||
- CORS_ORIGIN=https://epess.org,https://admin.epess.org,https://center.epess.org,http://localhost:3000,http://localhost:3069,http://localhost:3001
|
||||
- LISTEN_PORT=3069
|
||||
- SWAGGER_PATH=/v1
|
||||
- SWAGGER_PATH=/swagger
|
||||
- API_PATH=/v1
|
||||
labels:
|
||||
- 'traefik.enable=true'
|
||||
- 'traefik.http.routers.api.rule=Host(`api.epess.org`)'
|
||||
|
||||
Reference in New Issue
Block a user