You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 lines
650 B

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