dvb/docker-compose.yml

38 lines
658 B
YAML
Raw Normal View History

2018-07-26 09:42:38 +00:00
version: '3'
services:
frontend:
image: nginx:alpine
restart: always
ports:
2018-08-01 09:01:23 +00:00
- 80
2018-07-26 09:42:38 +00:00
volumes:
- ./app:/srv
- ./nginx.conf:/etc/nginx/conf.d/default.conf
networks:
- dvb
- traefik
labels:
- traefik.enable=true
- traefik.port=80
2018-08-01 08:56:54 +00:00
- traefik.docker.network=traefik
2018-07-26 09:42:38 +00:00
- traefik.backend=dvb
2018-10-10 12:59:58 +00:00
- traefik.frontend.rule=Host:dvb.nicco.io
2018-07-26 09:42:38 +00:00
cache:
image: node:alpine
command: node /app.js
volumes:
- ./cache/app.js:/app.js
- ./cache/.key:/.key
ports:
- 8000
networks:
- dvb
restart: always
networks:
dvb:
traefik:
2018-08-01 08:56:54 +00:00
external: true