Skip to content

Commit

Permalink
11 make loadbalancer build free (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael authored Feb 13, 2023
1 parent 3ff21ec commit da8fe47
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
14 changes: 10 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ networks:
services:
localtest_loadbalancer:
container_name: localtest-loadbalancer
image: localtest-loadbalancer:latest
image: nginx:alpine-perl
restart: always
networks:
- altinntestlocal_network
Expand All @@ -18,11 +18,15 @@ services:
- NGINX_PORT=80
- TEST_DOMAIN=${TEST_DOMAIN:-local.altinn.cloud}
- ALTINN3LOCAL_PORT=${ALTINN3LOCAL_PORT:-80}
- NGINX_ENVSUBST_OUTPUT_DIR=/etc/nginx
build:
context: ./loadbalancer
- NGINX_ENVSUBST_OUTPUT_DIR=/etc/nginx/
- NGINX_ENVSUBST_TEMPLATE_SUFFIX=.conf
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./loadbalancer/templates:/etc/nginx/templates/:ro
- ./loadbalancer/www:/www/:ro


altinn_platform_pdf:
container_name: altinn-pdf
platform: linux/amd64
Expand All @@ -46,6 +50,7 @@ services:
- "5300:3000"
extra_hosts:
- "${TEST_DOMAIN:-local.altinn.cloud}:host-gateway"

altinn_localtest:
container_name: localtest
image: localtest:latest
Expand All @@ -66,5 +71,6 @@ services:
- ${ALTINN3LOCALSTORAGE_PATH:-AltinnPlatformLocal}:/AltinnPlatformLocal
extra_hosts:
- "host.docker.internal:host-gateway"

volumes:
AltinnPlatformLocal:
6 changes: 0 additions & 6 deletions loadbalancer/Dockerfile

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit da8fe47

Please sign in to comment.