Static Nginx container
This file contains 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 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 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