Skip to content

Commit

Permalink
[Connector] Add conf for connectors dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreGauthier committed Apr 8, 2024
1 parent f10e104 commit 8afa2dd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ up: ## Start the docker hub in detached mode (no logs)
$(MAKE) .env
@$(DOCKER_COMP) up --detach

up-connectors: ## Start the docker hub in detached mode with connectors conf (no logs)
$(MAKE) .env
@$(DOCKER_COMP) -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.connectors.yml up --detach

start: build up ## Build and start the containers

down: ## Stop the docker hub
Expand Down
18 changes: 18 additions & 0 deletions docker-compose.connectors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: "3.4"

services:
php:
environment:
TRUSTED_HOSTS: ^${SERVER_NAME:-example\.com|localhost}|caddy$|gally.localhost$$

caddy:
networks:
default:
aliases:
- 'gally.localhost'
environment:
SERVER_NAME: gally.localhost

networks:
default:
name: 'connectors-proxy'

0 comments on commit 8afa2dd

Please sign in to comment.