Update Docker Compose configuration (#13530)
- Fix Docker Compose obsolete setting ## Remove `version` Fix the following error: ``` WARN[0000] /docker-compose.yml: `version` is obsolete ``` see also. https://github.com/compose-spec/compose-spec/blob/master/spec.md#version-top-level-element-obsolete ## Rename: docker-compose.yml -> compose.yml The preferred file name is now `compose.yml`. > The default path for a Compose file is compose.yaml (preferred) ref. https://docs.docker.com/compose/compose-application-model/#the-compose-file Release Notes: - N/A
This commit is contained in:
parent
f00bea5d0f
commit
d044dc8485
1 changed files with 0 additions and 2 deletions
37
compose.yml
Normal file
37
compose.yml
Normal file
|
@ -0,0 +1,37 @@
|
|||
services:
|
||||
postgres:
|
||||
image: postgres:15
|
||||
container_name: zed_postgres
|
||||
ports:
|
||||
- 5432:5432
|
||||
environment:
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./docker-compose.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
|
||||
blob_store:
|
||||
image: quay.io/minio/minio
|
||||
container_name: blob_store
|
||||
command: server /data
|
||||
ports:
|
||||
- 9000:9000
|
||||
environment:
|
||||
MINIO_ROOT_USER: the-blob-store-access-key
|
||||
MINIO_ROOT_PASSWORD: the-blob-store-secret-key
|
||||
volumes:
|
||||
- ./.blob_store:/data
|
||||
|
||||
livekit_server:
|
||||
image: livekit/livekit-server
|
||||
container_name: livekit_server
|
||||
entrypoint: /livekit-server --config /livekit.yaml
|
||||
ports:
|
||||
- 7880:7880
|
||||
- 7881:7881
|
||||
- 7882:7882/udp
|
||||
volumes:
|
||||
- ./livekit.yaml:/livekit.yaml
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
Loading…
Add table
Add a link
Reference in a new issue