mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 17:33:09 -06:00
Move docker-compose.yml under the docker directory
This commit is contained in:
parent
b63f1e9311
commit
f2ec4ce2ed
|
|
@ -4,10 +4,10 @@ services:
|
||||||
container_name: dendrite_monolith
|
container_name: dendrite_monolith
|
||||||
hostname: monolith
|
hostname: monolith
|
||||||
entrypoint: ["bash", "./docker/services/monolith.sh"]
|
entrypoint: ["bash", "./docker/services/monolith.sh"]
|
||||||
build: ./docker
|
build: ./
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./
|
source: ../
|
||||||
target: /build
|
target: /build
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
|
@ -21,10 +21,10 @@ services:
|
||||||
container_name: dendrite_client_api_proxy
|
container_name: dendrite_client_api_proxy
|
||||||
hostname: client_api_proxy
|
hostname: client_api_proxy
|
||||||
entrypoint: ["bash", "./docker/services/client-api-proxy.sh"]
|
entrypoint: ["bash", "./docker/services/client-api-proxy.sh"]
|
||||||
build: ./docker
|
build: ./
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./
|
source: ../
|
||||||
target: /build
|
target: /build
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
|
|
@ -41,10 +41,10 @@ services:
|
||||||
container_name: dendrite_client_api
|
container_name: dendrite_client_api
|
||||||
hostname: client_api
|
hostname: client_api
|
||||||
entrypoint: ["bash", "./docker/services/client-api.sh"]
|
entrypoint: ["bash", "./docker/services/client-api.sh"]
|
||||||
build: ./docker
|
build: ./
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./
|
source: ../
|
||||||
target: /build
|
target: /build
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
@ -58,10 +58,10 @@ services:
|
||||||
container_name: dendrite_media_api
|
container_name: dendrite_media_api
|
||||||
hostname: media_api
|
hostname: media_api
|
||||||
entrypoint: ["bash", "./docker/services/media-api.sh"]
|
entrypoint: ["bash", "./docker/services/media-api.sh"]
|
||||||
build: ./docker
|
build: ./
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./
|
source: ../
|
||||||
target: /build
|
target: /build
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
@ -74,10 +74,10 @@ services:
|
||||||
container_name: dendrite_public_rooms_api
|
container_name: dendrite_public_rooms_api
|
||||||
hostname: public_rooms_api
|
hostname: public_rooms_api
|
||||||
entrypoint: ["bash", "./docker/services/public-rooms-api.sh"]
|
entrypoint: ["bash", "./docker/services/public-rooms-api.sh"]
|
||||||
build: ./docker
|
build: ./
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./
|
source: ../
|
||||||
target: /build
|
target: /build
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
@ -90,10 +90,10 @@ services:
|
||||||
container_name: dendrite_sync_api
|
container_name: dendrite_sync_api
|
||||||
hostname: sync_api
|
hostname: sync_api
|
||||||
entrypoint: ["bash", "./docker/services/sync-api.sh"]
|
entrypoint: ["bash", "./docker/services/sync-api.sh"]
|
||||||
build: ./docker
|
build: ./
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./
|
source: ../
|
||||||
target: /build
|
target: /build
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
@ -106,10 +106,10 @@ services:
|
||||||
container_name: dendrite_room_server
|
container_name: dendrite_room_server
|
||||||
hostname: room_server
|
hostname: room_server
|
||||||
entrypoint: ["bash", "./docker/services/room-server.sh"]
|
entrypoint: ["bash", "./docker/services/room-server.sh"]
|
||||||
build: ./docker
|
build: ./
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./
|
source: ../
|
||||||
target: /build
|
target: /build
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
@ -122,10 +122,10 @@ services:
|
||||||
container_name: dendrite_federation_api_proxy
|
container_name: dendrite_federation_api_proxy
|
||||||
hostname: federation_api_proxy
|
hostname: federation_api_proxy
|
||||||
entrypoint: ["bash", "./docker/services/federation-api-proxy.sh"]
|
entrypoint: ["bash", "./docker/services/federation-api-proxy.sh"]
|
||||||
build: ./docker
|
build: ./
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./
|
source: ../
|
||||||
target: /build
|
target: /build
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
@ -141,10 +141,10 @@ services:
|
||||||
container_name: dendrite_federation_api
|
container_name: dendrite_federation_api
|
||||||
hostname: federation_api
|
hostname: federation_api
|
||||||
entrypoint: ["bash", "./docker/services/federation-api.sh"]
|
entrypoint: ["bash", "./docker/services/federation-api.sh"]
|
||||||
build: ./docker
|
build: ./
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./
|
source: ../
|
||||||
target: /build
|
target: /build
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
@ -157,10 +157,10 @@ services:
|
||||||
container_name: dendrite_federation_sender
|
container_name: dendrite_federation_sender
|
||||||
hostname: federation_sender
|
hostname: federation_sender
|
||||||
entrypoint: ["bash", "./docker/services/federation-sender.sh"]
|
entrypoint: ["bash", "./docker/services/federation-sender.sh"]
|
||||||
build: ./docker
|
build: ./
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./
|
source: ../
|
||||||
target: /build
|
target: /build
|
||||||
depends_on:
|
depends_on:
|
||||||
- postgres
|
- postgres
|
||||||
|
|
@ -175,7 +175,7 @@ services:
|
||||||
image: postgres:9.5
|
image: postgres:9.5
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./docker/postgres/create_db.sh:/docker-entrypoint-initdb.d/20-create_db.sh
|
- ./postgres/create_db.sh:/docker-entrypoint-initdb.d/20-create_db.sh
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: itsasecret
|
POSTGRES_PASSWORD: itsasecret
|
||||||
POSTGRES_USER: dendrite
|
POSTGRES_USER: dendrite
|
||||||
Loading…
Reference in a new issue