-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (45 loc) · 1.2 KB
/
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
41
42
43
44
45
46
version: "3.8"
services:
api:
container_name: API
restart: on-failure
build:
context: .
dockerfile: ./lpr.WebAPI/Dockerfile
ports:
- 5000:80
- 5001:443
environment:
- MariaDB_ConnectionString=Server=db;Database=LPR;User=root;Password=root
- ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://+:80;https://+:443;
- ASPNETCORE_HTTPS_PORT=5001
- ASPNETCORE_Kestrel__Certificates__Default__Password=ob6KdSAOuNB3oe7
- ASPNETCORE_Kestrel__Certificates__Default__Path=/app/dev-cert.pfx
- S3_AccessKey=root
- S3_PrivateKey=rootpass
- S3_Service_Url=http://localhost:9000
depends_on:
- db
db:
container_name: Database
image: mariadb:10.5.9
restart: on-failure
environment:
- MARIADB_ROOT_PASSWORD=root
- MYSQL_ROOT_PASSWORD=root
ports:
- 3306:3306
volumes:
- ./MariaDB-Data:/var/lib/mysql
s3:
container_name: ObjectStorage
restart: on-failure
image: quay.io/minio/minio
command: server /data --console-address ":9001"
environment:
- MINIO_ROOT_USER=root
- MINIO_ROOT_PASSWORD=rootpass
ports:
- 9000:9000
- 9001:9001