Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Memcached as service #43

Merged
merged 1 commit into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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