peertube-openid-discord/docker-compose.yaml

21 lines
644 B
YAML

# docker-compose.yml
# This file defines and runs our custom OIDC bridge application.
# The PeerTube instance will connect to this service.
version: '3.8'
services:
# The OIDC Bridge Service
# Translates Discord OAuth2 into an OIDC-compliant flow for PeerTube.
oidc-bridge:
# We build the image from the local Dockerfile.
build: .
# The container will restart automatically if it fails.
restart: unless-stopped
ports:
# Expose the service on port 5000.
# PeerTube will connect to this port.
- "5000:5000"
# Mount the .env file to be used by the Python application.
env_file:
- ./.env