We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b74e78a commit aa47906Copy full SHA for aa47906
docker-compose.yml
@@ -1,7 +1,7 @@
1
version: '3'
2
services:
3
web:
4
- image: nginx
+ image: nginx:alpine
5
volumes:
6
- "./etc/nginx/default.conf:/etc/nginx/conf.d/default.conf"
7
- "./etc/ssl:/etc/ssl"
@@ -12,7 +12,7 @@ services:
12
- "3000:443"
13
environment:
14
- NGINX_HOST=${NGINX_HOST}
15
- command: /bin/bash -c "envsubst '$$NGINX_HOST' < /etc/nginx/conf.d/default.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
+ command: /bin/sh -c "envsubst '$$NGINX_HOST' < /etc/nginx/conf.d/default.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"
16
restart: always
17
depends_on:
18
- php
0 commit comments