aboutsummaryrefslogblamecommitdiffstats
path: root/docker-compose.yaml
blob: 97413b0cf6557f0806c3b705020def4c11e7511d (plain) (tree)
1
2
3
4
5
6
7
8
9
         

                                    

                
                                                  


                
                      




                         

                   
                           

                                         
            


                                        

             
         
           
services:
  terra:
    image: milla_distroless_vendored
    build:
      context: .
      dockerfile: ./Dockerfile_distroless_vendored
    deploy:
      resources:
        limits:
          memory: 128M
    logging:
      driver: "json-file"
      options:
        max-size: "100m"
    networks:
      - terranet
    user: 1000:1000
    restart: unless-stopped
    entrypoint: ["/usr/bin/milla"]
    command: ["--config", "/config.toml"]
    volumes:
      - ./config-omni.toml:/config.toml
      - /etc/localtime:/etc/localtime:ro
      - ./plugins/:/plugins/:ro
    cap_drop:
      - ALL
networks:
  terranet: