Skip to content

Commit

Permalink
Rework docker-compose.yml.j2
Browse files Browse the repository at this point in the history
  • Loading branch information
lwih committed Mar 20, 2024
1 parent 2bea232 commit 8268ed5
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,13 @@ services:
app:
image: "{{ docker_image_path }}"
container_name: rapportnav_backend
# user: "rapportnav:${MONITORENV_LOGS_AND_BACKUPS_GID}"
environment:
- ENV_DB_URL=jdbc:postgresql://db:5432/rapportnavdb?user=postgres&password=postgres
- SPRING_PROFILES_ACTIVE=prod
ports:
# - ${BACKEND_HTTP_PORT}:8880
- 8880:8880
- 80:80
- 8000:8000
# volumes:
# volumes:
# - "${RAPPORTNAV_LOGS_FOLDER}:/home/rapportnav/logs"
# networks:
# - backend_network
depends_on:
- db
restart: always
Expand All @@ -28,10 +22,7 @@ services:
db:
image: "{{ nexus_proxy }}/postgres:15.6-alpine"
volumes:
# - "${RAPPORTNAV_BACKUPS_FOLDER}:/opt/rapportnav_backups"
- db:/var/lib/postgresql/data
# networks:
# - backend_network
restart: always
ports:
- "5432:5432"
Expand All @@ -54,7 +45,7 @@ services:
# Proxy. To add more keys, separate them with a comma (`key1,key2`).
# UNLEASH_PROXY_CLIENT_KEYS: "randomkey"
UNLEASH_PROXY_SECRETS: "randomkey"
UNLEASH_APP_NAME: "local"
UNLEASH_APP_NAME: "production"
# This points the Proxy to the Unleash server API
UNLEASH_URL: "https://gitlab.com/api/v4/feature_flags/unleash/55951570"
UNLEASH_INSTANCE_ID: "glffct-ceHLxPcFMqyXsyGPXSkx"
Expand All @@ -63,8 +54,6 @@ services:
UNLEASH_API_TOKEN: "glpat-6f7PUWe9PwRoa53LUmsZ"
ENABLE_ALL_ENDPOINT: true
LOG_LEVEL: "debug"
# depends_on:
# - web
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:3000/proxy/health || exit 1
interval: 1s
Expand Down

0 comments on commit 8268ed5

Please sign in to comment.