Files
web2py/docker/stack/web2py-tornado-nginx/docker-compose.yml
2018-02-05 07:06:40 +07:00

35 lines
611 B
YAML
Executable File

version: '3.1'
services:
web2py-tornado:
build:
context: .
dockerfile: web2py-tornado
container_name: web2py-tornado
ports:
- "8000:8000"
networks:
web2py-net:
ipv4_address: 172.25.0.22
volumes:
- applications:/home/web2py/web2py/applications
web2py-nginx:
build:
context: .
dockerfile: web2py-nginx
container_name: web2py-nginx
networks:
web2py-net:
ipv4_address: 172.25.0.23
networks:
web2py-net:
driver: bridge
ipam:
config:
- subnet: 172.25.0.0/16
volumes:
applications: