Skip to content

Instantly share code, notes, and snippets.

@kimsible
Last active May 31, 2020 17:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kimsible/6f392ad934b682ef24a44ffe70514319 to your computer and use it in GitHub Desktop.
Save kimsible/6f392ad934b682ef24a44ffe70514319 to your computer and use it in GitHub Desktop.
PeerTube DEV - redis + postgres docker-compose
version: "3.3"
services:
postgres:
image: postgres:10-alpine
environment:
- POSTGRES_DB=peertube_dev
- POSTGRES_USER=peertube
- POSTGRES_PASSWORD=peertube
volumes:
- ../PeerTube/docker-volume/db:/var/lib/postgresql/data
ports:
- "5432:5432"
redis:
image: redis:4-alpine
volumes:
- ../PeerTube/docker-volume/redis:/data
ports:
- "6379:6379"
restart: "always"
networks:
default:
ipam:
driver: default
config:
- subnet: 172.18.0.0/16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment