From 2a30c2c928100039d31fda0721a3eba5ec4e5e72 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Thu, 15 Jul 2021 13:24:33 +0200 Subject: [PATCH] Added db and memcached exposed ports in docker-compose.yml --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 4407f13..3517a79 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,8 @@ services: image: ${DB_IMG:-mariadb}:${DB_TAG:-latest} container_name: ${DB_CONTAINER_NAME:-seafile-db} restart: ${DB_RESTART:-unless-stopped} + expose: + - "3306" environment: - MYSQL_ROOT_PASSWORD=${DB_ROOT_PASSWD:-changemeplease} - MYSQL_LOG_CONSOLE=true @@ -17,6 +19,8 @@ services: image: ${MC_IMG:-memcached}:${MC_TAG:-alpine} container_name: ${MC_CONTAINER_NAME:-seafile-memcached} restart: ${MC_RESTART:-unless-stopped} + expose: + - "11211" entrypoint: memcached -m 256 networks: - seafile-net