misskey/docker-compose.yaml

31 lines
491 B
YAML

version: '3'
services:
misskey:
build: .
restart: "always"
volumes:
- ./files:/opt/misskey/files
- postgresql:/var/lib/postgresql
- saves:/saves
ports:
- "443:443"
networks:
- misskey
environment:
ENDPOINT: "localhost"
DATABASE_HOST: "postgresql"
DB_USERNAME: "root"
DB_NAME: "misskey"
DB_PASSWORD: "sql"
networks:
misskey:
volumes:
postgresql:
saves:
external: false