Skip to content

Commit

Permalink
Replace the base image to alpine for redis, node and memcached
Browse files Browse the repository at this point in the history
  • Loading branch information
Ning Zhou committed Jun 13, 2023
1 parent f404729 commit 8dd4a6d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
# docker-compose -f docker-compose.yml -f compose/nginx.yml -f compose/pgsql.yml -f compose/php.yml up -d pgsql php-7.3

nodejs:
image: node:16
image: node:16-alpine3.16
container_name: totara_nodejs
environment:
TZ: ${TIME_ZONE}
Expand All @@ -28,7 +28,8 @@ services:
- totara

redis:
image: redis
image: redis:alpine
container_name: totara_redis
# activate persistency
command: "redis-server --appendonly yes"
environment:
Expand All @@ -39,7 +40,8 @@ services:
- totara

memcached:
image: memcached
image: memcached:alpine
container_name: totara_memcached
environment:
TZ: ${TIME_ZONE}
networks:
Expand Down

0 comments on commit 8dd4a6d

Please sign in to comment.