30 lines
1.0 KiB
YAML
30 lines
1.0 KiB
YAML
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"
|