47 lines
807 B
YAML
47 lines
807 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
|
|
peertube:
|
|
image: chocobozzz/peertube:production-buster
|
|
networks:
|
|
default:
|
|
ipv4_address: 172.36.0.42
|
|
env_file:
|
|
- .env
|
|
|
|
ports:
|
|
- "1935:1935"
|
|
- "127.0.0.1:3001:9000"
|
|
volumes:
|
|
- assets:/app/client/dist
|
|
- ./docker-volume/data:/data
|
|
- ./docker-volume/config:/config
|
|
depends_on:
|
|
- postgres
|
|
- redis
|
|
restart: "always"
|
|
|
|
postgres:
|
|
image: postgres:13-alpine
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./docker-volume/db:/var/lib/postgresql/data
|
|
restart: "always"
|
|
|
|
redis:
|
|
image: redis:6-alpine
|
|
volumes:
|
|
- ./docker-volume/redis:/data
|
|
restart: "always"
|
|
|
|
networks:
|
|
default:
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 172.36.0.0/16
|
|
|
|
volumes:
|
|
assets: |