Browse Source

add pleroma-docker-compose.yaml

example pleroma docker-compose for simple setup
master
JoYo 1 year ago
parent
commit
1b1e2b2f3d
  1. 31
      pleroma-docker-compose.yaml

31
pleroma-docker-compose.yaml

@ -0,0 +1,31 @@
version: '3'
volumes:
pleroma_db:
services:
pleroma_db:
image: postgres:11
restart: always
environment:
POSTGRES_USER: pleroma
POSTGRES_DB: pleroma
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- pleroma_db:/var/lib/postgresql/data
pleroma_web:
image: git.pleroma.social:5050/pleroma/pleroma
restart: always
ports:
- "4000:4000"
environment:
DB_HOST: pleroma_db
DB_USER: pleroma
DB_NAME: pleroma
depends_on:
- pleroma_db
volumes:
- ./uploads:/var/lib/pleroma/uploads
- ./static:/var/lib/pleroma/static
- ./config:/etc/pleroma
Loading…
Cancel
Save