Commit 212778c8 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

http proxy host can now be forwarded from outside docker

parent b47011ee
......@@ -14,6 +14,8 @@ services:
dockerfile: build/fpm/Dockerfile
target: ${APP_ENV}
restart: unless-stopped
networks:
- metager
volumes:
- ./metager:/metager/metager_app
healthcheck:
......@@ -26,6 +28,8 @@ services:
restart: unless-stopped
depends_on:
- fpm
networks:
- metager
volumes:
- ./metager/public:/metager/metager_app/public
ports:
......@@ -38,6 +42,8 @@ services:
restart: unless-stopped
entrypoint: /usr/local/bin/php
command: artisan schedule:work-mg
networks:
- metager
volumes:
- ./metager:/metager/metager_app
healthcheck:
......@@ -48,6 +54,10 @@ services:
restart: unless-stopped
entrypoint: /usr/local/bin/php
command: artisan requests:fetcher
networks:
- metager
extra_hosts:
- "dockerhost:192.168.5.1"
volumes:
- ./metager:/metager/metager_app
healthcheck:
......@@ -56,6 +66,8 @@ services:
image: ${SELENIUM_IMAGE}
restart: always
shm_size: 2GB
networks:
- metager
ports:
- "7900:7900"
composer:
......@@ -65,6 +77,8 @@ services:
command: install
environment:
- COMPOSER_HOME=/composer_cache
networks:
- metager
volumes:
- ./metager:/metager/metager_app
- composer_cache:/composer_cache
......@@ -78,6 +92,8 @@ services:
stop_signal: SIGKILL
depends_on:
- nginx
networks:
- metager
volumes:
- ./metager:/home/node/metager
- node_cache:/home/node/.npm
......@@ -86,5 +102,13 @@ services:
context: ./build/redis
restart: unless-stopped
user: "redis:redis"
networks:
- metager
healthcheck:
test: "redis-cli ping"
networks:
metager:
ipam:
driver: default
config:
- subnet: "192.168.5.0/24"
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment