flecks/packages/redis/build/containers.js
2024-02-01 14:55:54 -06:00

16 lines
301 B
JavaScript

module.exports = (flecks) => ({
redis: {
environment: {
app: {
host: 'redis',
},
},
extra: {
command: `--port ${flecks.get('@flecks/redis.port')}`,
},
image: 'redis:6',
mount: '/data',
ports: {[flecks.get('@flecks/redis.port')]: 6379},
},
});