Skip to content

Commit 8857653

Browse files
committed
Improve http proxy support for development
1 parent 321ee47 commit 8857653

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

Diff for: docker-compose.development.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ services:
3434
- etc/environment.yml
3535
- etc/environment.development.yml
3636
environment:
37-
- VIRTUAL_HOST=boilerplate.docker
37+
- VIRTUAL_HOST=.app.boilerplate.docker
38+
- VIRTUAL_PORT=80
3839

3940
#######################################
4041
# MySQL server
@@ -91,6 +92,9 @@ services:
9192
# env_file:
9293
# - etc/environment.yml
9394
# - etc/environment.development.yml
95+
# environment:
96+
# - VIRTUAL_HOST=solr.boilerplate.docker
97+
# - VIRTUAL_PORT=8983
9498

9599
#######################################
96100
# Elasticsearch
@@ -106,6 +110,9 @@ services:
106110
# env_file:
107111
# - etc/environment.yml
108112
# - etc/environment.development.yml
113+
# environment:
114+
# - VIRTUAL_HOST=elasticsearch.boilerplate.docker
115+
# - VIRTUAL_PORT=9200
109116

110117
#######################################
111118
# Redis
@@ -139,7 +146,8 @@ services:
139146
ports:
140147
- 8025:8025
141148
environment:
142-
- VIRTUAL_HOST=mailhog.docker
149+
- VIRTUAL_HOST=mail.boilerplate.docker
150+
- VIRTUAL_PORT=8025
143151

144152
#######################################
145153
# FTP (vsftpd)
@@ -164,7 +172,8 @@ services:
164172
# - mysql
165173
# environment:
166174
# - PMA_ARBITRARY=1
167-
# - VIRTUAL_HOST=phpmyadmin.docker
175+
# - VIRTUAL_HOST=pma.boilerplate.docker
176+
# - VIRTUAL_PORT=80
168177
# ports:
169178
# - "8001:80"
170179
# volumes:

0 commit comments

Comments
 (0)