version: "3" services: bot: build: . entrypoint: ["dotnet", "run", "--project", "PluralKit.Bot"] environment: - "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres" - "PluralKit:InfluxUrl=http://influx:8086" - "PluralKit:InfluxDb=pluralkit volumes: - "./pluralkit.conf:/app/pluralkit.conf:ro" links: - db - influx restart: always web: build: . entrypoint: ["dotnet", "run", "--project", "PluralKit.Web"] environment: - "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres" links: - db ports: - 2837:5000 restart: always api: build: . entrypoint: ["dotnet", "run", "--project", "PluralKit.API"] environment: - "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres" links: - db ports: - 2838:5000 restart: always db: image: postgres:alpine volumes: - "db_data:/var/lib/postgresql/data" restart: always influx: image: influxdb:alpine volumes: - "influx_data:/var/lib/influxdb" ports: - 2839:8086 restart: always volumes: db_data: influx_data: