use expose instead of publish

This commit is contained in:
simon 2021-10-26 16:23:41 +07:00
parent 3526d62540
commit 50396a666d
1 changed files with 4 additions and 4 deletions

View File

@ -24,8 +24,8 @@ services:
image: redislabs/rejson:latest
container_name: archivist-redis
restart: always
ports:
- 6379:6379
expose:
- "6379"
volumes:
- ./volumes/tubearchivist/redis:/data
depends_on:
@ -43,5 +43,5 @@ services:
hard: -1
volumes:
- ./volumes/tubearchivist/es:/usr/share/elasticsearch/data
ports:
- 9200:9200
expose:
- "9200"