feat: initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:16.3
|
||||
container_name: postgres-db
|
||||
environment:
|
||||
POSTGRES_DB: lk_tmpl
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
volumes:
|
||||
- db-data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
redis:
|
||||
image: redis:6.2-alpine
|
||||
restart: unless-stopped
|
||||
container_name: redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
command: redis-server --save 60 1 --loglevel warning
|
||||
|
||||
redis-commander:
|
||||
container_name: redis-commander
|
||||
hostname: redis-commander
|
||||
image: rediscommander/redis-commander:latest
|
||||
environment:
|
||||
- REDIS_HOST=redis
|
||||
ports:
|
||||
- "127.0.0.1:8081:8081"
|
||||
depends_on:
|
||||
- redis
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
db-data:
|
||||
Reference in New Issue
Block a user