aboutsummaryrefslogblamecommitdiffstats
path: root/docker-compose.yaml
blob: 49829c8b019787f165eae4a29b8b8104a7ef0916 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                         

                             
                                                   

                                            
                                        

             

                                         



















                               

           
version: "3.9"
services:
  milla:
    image: milla
    build:
      context: .
    deploy:
      resources:
        limits:
          memory: 64M
    logging:
      driver: "json-file"
      options:
        max-size: "100m"
    networks:
      - millanet
    # restart: unless-stopped
    restart: no
    command: ["--config", "/opt/milla/config.toml"]
    volumes:
      - ./config.toml:/opt/milla/config.toml
      - /etc/ssl/certs:/etc/ssl/certs:ro
    cap_drop:
      - ALL
    environment:
      - SERVER_DEPLOYMENT_TYPE=deployment
  # prettier:
  #   build:
  #     context: ./prettier
  #   deploy:
  #     resources:
  #       limits:
  #         memory: 128M
  #   logging:
  #     driver: "json-file"
  #     options:
  #       max-size: "100m"
  #   networks:
  #     - millanet
  #   restart: unless-stopped
  #   cap_drop:
  #     - ALL
  #   cap_add:
  #     - NET_BIND_SERVICE
  #   ports:
  #     - "127.0.0.1:9001:9001"
networks:
  millanet: