Created
June 23, 2022 01:53
-
-
Save seanhamlin/f20279968ce0751b0e9d386da3ce9c70 to your computer and use it in GitHub Desktop.
Static Nginx container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose-yaml: docker-compose.yml | |
environments: | |
production: | |
routes: | |
- nginx: | |
- "www.example.com" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
nginx: | |
networks: | |
- amazeeio-network | |
- default | |
build: | |
context: . | |
dockerfile: Dockerfile.nginx | |
labels: | |
lagoon.type: nginx | |
volumes: | |
- .:/app:delegated | |
ports: | |
- "8080" | |
networks: | |
amazeeio-network: | |
external: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM uselagoon/nginx:latest | |
# Add in the static files. | |
COPY static /app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment