-
-
Notifications
You must be signed in to change notification settings - Fork 558
/
docker-compose.template.yml
29 lines (28 loc) · 1.02 KB
/
docker-compose.template.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: '3'
services:
mirotalk:
image: mirotalk/p2p:latest
build:
context: .
dockerfile: Dockerfile
container_name: mirotalk
hostname: mirotalk
volumes:
- .env:/src/.env:ro
# These volumes are not mandatory, uncomment if you want to use it
# - ./app/:/src/app/:ro
# - ./public/:/src/public/:ro
restart: unless-stopped
ports:
- '${PORT}:${PORT}'
# Uncomment below, remove "ports:" section above and configure labels as
# needed for LetsEncrypt TLS certificates with Traefik.
# See https://doc.traefik.io/traefik/user-guides/docker-compose/basic-example/
# expose:
# - 3000
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.mirotalk.rule=Host(`mirotalk.example.com`)"
# - "traefik.http.routers.mirotalk.entrypoints=websecure"
# - "traefik.http.routers.mirotalk.tls.certresolver=myresolver"
# - "traefik.http.services.mirotalk.loadbalancer.server.port=3000"