Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit 6af71e0

Browse files
committed
slightly restructure nginx naming and use of SYMFONYVERSION
this makes it consistent accross the other compose environments Signed-off-by: BlackEagle <[email protected]>
1 parent 75e619c commit 6af71e0

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.env-sample

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ PHPVERSION=7.1
1717
# see https://github.com/dockerwest/nginx-symfony
1818
#
1919
NGINXVERSION=stable
20-
SYMFONYVERSION=3
20+
#
21+
# set the symfony version, 3 and below use 3, 4 and above must use 4. Since the
22+
# intorduction of symfony4 there were some changes where web accessible files
23+
# are stored
24+
#
25+
SYMFONYVERSION=4
2126

2227
#
2328
# This setting defines what the hostname will be you can browse your Symfony

docker-compose-dinghy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ services:
3636
network_mode: bridge
3737

3838
nginx:
39-
image: dockerwest/nginx-symfony:${SYMFONYVERSION:-3}-${NGINXVERSION:-stable}
39+
image: dockerwest/nginx-symfony${SYMFONYVERSION:-4}:${NGINXVERSION:-stable}
4040
environment:
4141
- VIRTUAL_HOST=${BASEHOST:-application.test},${EXTRAHOSTS}
4242
- VIRTUAL_PORT=80

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ services:
3232
- mailcatcher
3333

3434
nginx:
35-
image: dockerwest/nginx-symfony:${SYMFONYVERSION:-3}-${NGINXVERSION:-stable}
35+
image: dockerwest/nginx-symfony${SYMFONYVERSION:-4}:${NGINXVERSION:-stable}
3636
environment:
3737
- VIRTUAL_HOST=${BASEHOST:-application.test},${EXTRAHOSTS}
3838
volumes:

0 commit comments

Comments
 (0)