version: '3' services: akkoma: build: . restart: "always" volumes: - postgresql:/var/lib/postgresql - ./config:/etc/akkoma - ./uploads:/var/lib/akkoma/uploads - ./emoji:/var/lib/akkoma/static/emoji - ./saves:/saves ports: - "443:443" networks: - akkoma environment: ENDPOINT: "localhost" privileged: true networks: akkoma: volumes: postgresql: external: false