mirror of
https://github.com/hknsh/project-knedita.git
synced 2024-11-28 09:31:16 +00:00
52 lines
940 B
YAML
52 lines
940 B
YAML
version: '3.8'
|
|
|
|
networks:
|
|
localstack-net:
|
|
name: localstack-net
|
|
driver: bridge
|
|
minio_network:
|
|
name: minio_network
|
|
driver: bridge
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:alpine
|
|
restart: unless-stopped
|
|
container_name: postgres
|
|
ports:
|
|
- 5432:5432
|
|
env_file:
|
|
- docker.env
|
|
volumes:
|
|
- postgres:/var/lib/postgresql/data
|
|
|
|
redis:
|
|
image: redis:alpine
|
|
restart: unless-stopped
|
|
container_name: redis
|
|
ports:
|
|
- 6379:6379
|
|
command: redis-server --save 20 1 --loglevel warning --requirepass not_a_production_pass
|
|
volumes:
|
|
- redis:/data
|
|
|
|
minio:
|
|
image: bitnami/minio
|
|
restart: unless-stopped
|
|
ports:
|
|
- '9000:9000'
|
|
- '9001:9001'
|
|
networks:
|
|
- minio_network
|
|
volumes:
|
|
- 'minio_data:/data'
|
|
env_file:
|
|
- docker.env
|
|
|
|
volumes:
|
|
postgres:
|
|
name: backend-db
|
|
redis:
|
|
driver: local
|
|
minio_data:
|
|
driver: local
|