Skip to content

Instantly share code, notes, and snippets.

@bgautrea
Created October 14, 2019 20:50
Show Gist options
  • Save bgautrea/4aad50ec4fa767b4d6c849bd823d2758 to your computer and use it in GitHub Desktop.
Save bgautrea/4aad50ec4fa767b4d6c849bd823d2758 to your computer and use it in GitHub Desktop.
version: "2"
services:
nginx-plusunit:
image: nginx-plus2unit
hostname: nginx-plus2unit
domainname: nginxdemo.com
container_name: nginx-plus2unit
ports:
- "80:80"
- "443:443"
- "8080:8080"
- "8443:8443"
- "5003:5003"
nginx-plusstatic:
image: nginx-plusstatic
hostname: nginx-plusstatic
domainname: nginxdemo.com
volumes:
- /root/static_files:/usr/share/nginxdemo.com
networks:
default:
aliases:
- nginx-plusstatic
unit-py:
image: bgautrea/unit-python3
volumes:
- /root/unit-python/code/python:/usr/local/python
networks:
default:
aliases:
- unit-py
unit-php:
image: bgautrea/unit-php2
volumes:
- /root/unit-php/code/php:/usr/local/php
networks:
default:
aliases:
- unit-php
networks:
default:
external:
name: TenNet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment