Skip to content

Commit

Permalink
Fix incorrect deployment doc and server config (#1494)
Browse files Browse the repository at this point in the history
  • Loading branch information
roger2hk authored May 28, 2024
1 parent 414a850 commit 998b8f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions trillian/examples/deployment/docker/ctfe/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,14 @@ First bring up the trillian instance and the database:
# Terminal 1
cd ${GIT_HOME}/certificate-transparency-go/trillian/examples/deployment/docker/ctfe/
docker compose up
docker exec -i ctfe-db mariadb -pzaphod -Dtest < ${GIT_HOME}/certificate-transparency-go/trillian/ctfe/storage/mysql/schema.sql
```

This brings up everything except the CTFE. Now to provision the logs.

```bash
# Terminal 2
cd ${GIT_HOME}/trillian/
docker exec -i ctfe-db mariadb -pzaphod -Dtest < ./storage/mysql/schema/storage.sql
docker exec -i ctfe-db mariadb -pzaphod -Dtest < ${GIT_HOME}/trillian/storage/mysql/schema/storage.sql
docker exec -i ctfe-db mariadb -pzaphod -Dtest < ${GIT_HOME}/certificate-transparency-go/trillian/ctfe/storage/mysql/schema.sql
```

The CTFE requires some configuration files. First prepare a directory containing
Expand Down
2 changes: 1 addition & 1 deletion trillian/examples/deployment/docker/ctfe/ct_server.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ config {
}
max_merge_delay_sec: 86400
expected_merge_delay_sec: 120
ctfe_storage_connection_string: "mysql://test:zaphod@tcp(localhost:3306)/test"
ctfe_storage_connection_string: "mysql://test:zaphod@tcp(db:3306)/test"
extra_data_issuance_chain_storage_backend: ISSUANCE_CHAIN_STORAGE_BACKEND_CTFE
}

0 comments on commit 998b8f6

Please sign in to comment.