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