36 lines
594 B
YAML
36 lines
594 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
postgresql:
|
||
|
build: ./postgresql
|
||
|
restart: "always"
|
||
|
volumes:
|
||
|
- postgresql:/var/lib/postgresql
|
||
|
networks:
|
||
|
- pleroma
|
||
|
environment:
|
||
|
ENDPOINT: "localhost"
|
||
|
privileged: true
|
||
|
|
||
|
pleroma:
|
||
|
build: ./pleroma
|
||
|
restart: "always"
|
||
|
volumes:
|
||
|
- ./config:/etc/pleroma
|
||
|
- ./var:/var/lib/pleroma
|
||
|
- ./saves:/saves
|
||
|
ports:
|
||
|
- "443:443"
|
||
|
networks:
|
||
|
- pleroma
|
||
|
environment:
|
||
|
ENDPOINT: "localhost"
|
||
|
privileged: true
|
||
|
|
||
|
networks:
|
||
|
pleroma:
|
||
|
|
||
|
volumes:
|
||
|
postgresql:
|
||
|
external: false
|
||
|
|
||
|
|