docker
This commit is contained in:
1 parent
db6918fa6c
commit
43966f91f4
6 files changed
+164
-18
No files matched your search
@@ -0,0 +1,56 @@
|
||||
---
|
||||
|
||||
services:
|
||||
pg:
|
||||
image: postgres:latest
|
||||
environment:
|
||||
POSTGRES_USER: '${POSTGRES_USER}'
|
||||
POSTGRES_DB: '${POSTGRES_DB}'
|
||||
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}'
|
||||
ports:
|
||||
- '5432:5432'
|
||||
volumes:
|
||||
- "./data/pg:/var/lib/postgresql/data"
|
||||
|
||||
redis:
|
||||
image: redis:latest
|
||||
ports:
|
||||
- '6379:6379'
|
||||
command: ['redis-server', '/usr/local/etc/redis/redis.conf']
|
||||
volumes:
|
||||
- "./data/redis:/data"
|
||||
- "./redis.conf:/usr/local/etc/redis/redis.conf"
|
||||
|
||||
meili:
|
||||
image: getmeili/meilisearch:v1.7
|
||||
ports:
|
||||
- '7700:7700'
|
||||
volumes:
|
||||
- './data/meili:/meili_data'
|
||||
environment:
|
||||
MEILI_MASTER_KEY: '${MEILI_MASTER_KEY}'
|
||||
|
||||
minio:
|
||||
image: quay.io/minio/minio
|
||||
ports:
|
||||
- 9000:9000
|
||||
- 9001:9001
|
||||
command: ['minio', 'server', '/data', '--console-address', ':9001']
|
||||
volumes:
|
||||
- './data/minio:/data'
|
||||
|
||||
|
||||
# meilisync:
|
||||
# platform: linux/x86_64
|
||||
# image: long2ice/meilisync
|
||||
# volumes:
|
||||
# - ./config.yml:/meilisync/config.yml
|
||||
|
||||
# nginx:
|
||||
# image: nginx:latest
|
||||
# depends_on:
|
||||
# - 'api'
|
||||
# volumes:
|
||||
# - './nginx/localhost.nginx.conf:/etc/nginx/conf.d/default.conf'
|
||||
# ports:
|
||||
# - '80:80'
|
||||
Reference in new issue
Block a user