github.com/google/trillian-examples@v0.0.0-20240520080811-0d40d35cef0e/binary_transparency/firmware/docker-compose.override.yml (about)

     1  version: "3.1"
     2  
     3  # This expects to be run as an override of trillian's example docker deployment.
     4  # See the README in the main directory for instructions.
     5  # This won't scale to multiple replicas without much more work.
     6  
     7  services:
     8    mysql:
     9      # Expose the mysql port for the verifiable map on 3336 outside of the docker network.
    10      # This avoids conflicting with any other mysql instance running on the host machine.
    11      ports:
    12        - "3336:3306"
    13  
    14    personality:
    15      build: 
    16        context: ../../../trillian-examples
    17        dockerfile: ./binary_transparency/firmware/cmd/ft_personality/Dockerfile
    18      command: [
    19        "--alsologtostderr",
    20        "--v=2",
    21        "--listen=:8000",
    22        "--trillian=trillian-log-server:8090",
    23        "--connect_timeout=30s",
    24        "--cas_db_file=/opt/ft.db"
    25      ]
    26      ports:
    27       - "8000:8000"
    28      restart: always
    29      depends_on:
    30        - mysql
    31        - trillian-log-server
    32        - trillian-log-signer