Skip to content

Commit

Permalink
Add login-server-cbs-test
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Dec 18, 2024
1 parent cc31650 commit aa63637
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
13 changes: 13 additions & 0 deletions configs/login-server-cbs-test.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
PORT=3004
VIRTUAL_HOST=coli-conc.gbv.de
VIRTUAL_PORT=$PORT
VIRTUAL_PATH=/login-cbs-test/
VIRTUAL_DEST=/
MONGO_HOST=mongo
MONGO_DB=login-server-cbs-test
BASE_URL=https://$VIRTUAL_HOST/login-cbs-test/
ALLOWED_ORIGINS=https://coli-conc.gbv.de
JWT_EXPIRES_IN=60
NODE_ENV=production
IMPRINT_URL=https://www.gbv.de/impressum
PRIVACY_URL=https://www.gbv.de/datenschutz
23 changes: 23 additions & 0 deletions services/login-server-cbs-test/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
services:
login-server-cbs-test:
image: ghcr.io/gbv/login-server:0.8
networks:
- default
- nginx
- mongo
volumes:
- $SECRETS/login-server-cbs-test:/config
- $DATA/login-server/static:/usr/src/app/static
env_file:
- $CONFIGS/login-server-cbs-test.env
- $SECRETS/login-server-cbs-test.env
restart: unless-stopped

networks:
default:
nginx:
external: true
name: nginx
mongo:
external: true
name: mongo

0 comments on commit aa63637

Please sign in to comment.