mirror of
https://github.com/cupcakearmy/dvb.git
synced 2024-12-22 16:16:26 +00:00
38 lines
658 B
YAML
38 lines
658 B
YAML
version: '3'
|
|
|
|
services:
|
|
frontend:
|
|
image: nginx:alpine
|
|
restart: always
|
|
ports:
|
|
- 80
|
|
volumes:
|
|
- ./app:/srv
|
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf
|
|
networks:
|
|
- dvb
|
|
- traefik
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.port=80
|
|
- traefik.docker.network=traefik
|
|
- traefik.backend=dvb
|
|
- traefik.frontend.rule=Host:dvb.nicco.io
|
|
|
|
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:
|
|
external: true
|