Skip to content
Snippets Groups Projects
Commit 76ba9b0b authored by Ulrich Schöpp's avatar Ulrich Schöpp
Browse files

Expose fewer ports

parent 944b008e
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
version: '3.4' version: '3.4'
services: services:
mysql: mysql:
platform: linux/amd64
image: gcr.io/trillian-opensource-ci/db_server:v1.4.0 image: gcr.io/trillian-opensource-ci/db_server:v1.4.0
environment: environment:
- MYSQL_ROOT_PASSWORD=zaphod - MYSQL_ROOT_PASSWORD=zaphod
...@@ -38,8 +37,8 @@ services: ...@@ -38,8 +37,8 @@ services:
"--appendonly", "--appendonly",
"yes" "yes"
] ]
ports: expose:
- "6379:6379" - "6379"
restart: always # keep the redis server running restart: always # keep the redis server running
healthcheck: healthcheck:
test: ["CMD", "redis-cli", "ping"] test: ["CMD", "redis-cli", "ping"]
...@@ -57,9 +56,9 @@ services: ...@@ -57,9 +56,9 @@ services:
"--alsologtostderr", "--alsologtostderr",
] ]
restart: always # retry while mysql is starting up restart: always # retry while mysql is starting up
ports: expose:
- "8090:8090" - 8090
- "8091:8091" - 8091
depends_on: depends_on:
- mysql - mysql
trillian-log-signer: trillian-log-signer:
...@@ -73,8 +72,6 @@ services: ...@@ -73,8 +72,6 @@ services:
"--alsologtostderr", "--alsologtostderr",
] ]
restart: always # retry while mysql is starting up restart: always # retry while mysql is starting up
ports:
- "8092:8091"
depends_on: depends_on:
- mysql - mysql
rekor-server: rekor-server:
...@@ -100,7 +97,6 @@ services: ...@@ -100,7 +97,6 @@ services:
restart: always # keep the server running restart: always # keep the server running
ports: ports:
- "3000:3000" - "3000:3000"
- "2112:2112"
depends_on: depends_on:
- mysql - mysql
- redis-server - redis-server
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment