Skip to content

Commit

Permalink
Merge pull request #55 from kreuzwerker/update-dockerfile-with-envplate
Browse files Browse the repository at this point in the history
✨ Add sample Dockerfile for nginx setup
  • Loading branch information
enc authored May 2, 2024
2 parents 4f01864 + be093af commit ec00ede
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,18 @@ NotEscaped1=\db.example.com
Escaped2=\${BAR_DATABASE:-db2.example.com}
NotEscaped2=\\db2.example.com
```

### Sample docker file

```
FROM nginx:latest
MAINTAINER Albert van t Hart <avthart@gmail.com>
ADD https://github.com/kreuzwerker/envplate/releases/download/v0.0.7/ep-linux /bin/ep
RUN chmod +x /bin/ep
EXPOSE 80 443
CMD [ "/bin/ep", "-v", "/etc/nginx/*.conf", "--", "/usr/sbin/nginx", "-g", "daemon off;" ]
```
Source: https://github.com/avthart/docker-nginx-env

0 comments on commit ec00ede

Please sign in to comment.