38 lines
774 B
YAML
38 lines
774 B
YAML
version: "3"
|
|
|
|
services:
|
|
pgsql:
|
|
image: postgres:17
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_USER: optima
|
|
POSTGRES_PASSWORD: 123web123
|
|
POSTGRES_DB: optima
|
|
volumes:
|
|
- ./postgres:/var/lib/postgresql/data
|
|
ports:
|
|
- 5432:5432
|
|
|
|
redis:
|
|
image: redis:6.2-alpine
|
|
restart: always
|
|
ports:
|
|
- "6379:6379"
|
|
command: redis-server --save 20 1 --loglevel warning --requirepass iamatotallysecurepassworddonttestmebrox
|
|
volumes:
|
|
- ./redis:/data
|
|
|
|
adminer:
|
|
image: adminer
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8081:8080
|
|
depends_on:
|
|
- pgsql
|
|
redisinsight:
|
|
image: redis/redisinsight:latest
|
|
container_name: redisinsight
|
|
ports:
|
|
- "5540:5540"
|
|
restart: unless-stopped
|