Skip to content

Instantly share code, notes, and snippets.

@digitalap3
Last active March 15, 2019 06:21
Show Gist options
  • Select an option

  • Save digitalap3/665f8c76d34772da5bbe6db0f75c8a0d to your computer and use it in GitHub Desktop.

Select an option

Save digitalap3/665f8c76d34772da5bbe6db0f75c8a0d to your computer and use it in GitHub Desktop.
docker-compose file for frontnginx
version: '3'
services:
frontnginx:
image: nginxbase
container_name: frontnginx
volumes:
- "ngfront-config:/etc/nginx/conf.d"
- "ssl-files:/ssl-files"
ports:
- "80:8080"
- "443:4443"
networks:
- frontnginx
volumes:
ngfront-conf:
external: true
ssl-files:
external: true
networks:
frontnginx:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment