Skip to content

Commit

Permalink
Merge pull request #43 from arifszn/memcached
Browse files Browse the repository at this point in the history
Add Memcached as service
  • Loading branch information
arifszn committed Aug 7, 2023
2 parents e89fd2b + 201fa7b commit 4886d69
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ RabbitMQ is an open-source message-queueing software also known as a message bro

Redis is an open-source in-memory data structure project implementing a distributed, in-memory key-value database with optional durability.

### Memcached

Memcached is a general-purpose distributed memory-caching system. It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source (such as a database or API) must be read.

## Support

<p>You can show your support by starring this project.</p>
Expand Down
12 changes: 11 additions & 1 deletion src/constants/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,22 @@ const MAILPIT = 'mailpit';
const RABBITMQ = 'rabbitmq';
const PGSQL = 'pgsql';
const REDIS = 'redis';
const MEMCACHED = 'memcached';

const NODE_14 = '14';
const NODE_16 = '16';
const NODE_18 = '18';

const SERVICES = [MY_SQL, ADMINER, MINIO, MAILPIT, RABBITMQ, PGSQL, REDIS];
const SERVICES = [
MY_SQL,
ADMINER,
MINIO,
MAILPIT,
RABBITMQ,
PGSQL,
REDIS,
MEMCACHED,
];

const SERVICES_WITH_VOLUME = [MY_SQL, MINIO, RABBITMQ, PGSQL, REDIS];

Expand Down
6 changes: 6 additions & 0 deletions stubs/memcached.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
memcached:
image: 'memcached:alpine'
ports:
- '${MEMCACHED_PORT:-11211}:11211'
networks:
- vail

0 comments on commit 4886d69

Please sign in to comment.