Last active
May 31, 2020 17:59
-
-
Save kimsible/6f392ad934b682ef24a44ffe70514319 to your computer and use it in GitHub Desktop.
PeerTube DEV - redis + postgres docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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