-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (36 loc) · 952 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: '3.4'
volumes:
lyzo_postgres: {}
services:
lyzo:
image: ${DOCKER_REGISTRY-}lyzo
build:
context: .
dockerfile: Lyzo/Dockerfile
environment:
- ASPNETCORE_ENVIRONMENT=Development
- PostgresConnectionString=Server=lyzo.postgres;Port=5432;User Id=lyzo;Password=lyzo;Database=lyzo;
- Lyzo_RabbitMq=lyzo.rabbitmq
depends_on:
- lyzo.postgres
- lyzo.rabbitmq
lyzo.postgres:
container_name: lyzo_postgres
image: postgres
labels:
- lyzocompose
ports:
- "5432:5432"
- "8080:8080"
environment:
- POSTGRES_USER=lyzo
- POSTGRES_PASSWORD=lyzo
volumes:
- lyzo_postgres:/var/lib/postgresql/data
- ./Module/Lyzo.Module.Rooms/Repository/Scripts/Rooms.sql:/docker-entrypoint-initdb.d/Rooms.sql
lyzo.rabbitmq:
image: docker.io/library/rabbitmq:3.8.6-management
labels:
- lyzocompose
ports:
- "15672:15672"