-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (49 loc) · 1.45 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
47
48
49
50
51
52
services:
investigator:
environment:
CUSTOMCONNSTR_LensLookerContext: "${CONNSTR}"
FlickrOptions__ApiKey: "${APIKEY}"
FlickrOptions__ExifSaveBatchSize: 50
FlickrOptions__FetchOwners: "true"
FlickrOptions__TagsToFetch__0: Canon
FlickrOptions__PreferredLenses__0: RF50mm F1.2 L USM
FlickrOptions__PreferredLenses__1: RF85mm F1.2 L USM
FlickrOptions__PreferredLenses__2: RF100mm F2.8 L MACRO IS USM
SENTRY_DSN: "${SENTRY_DSN_INVESTIGATOR}"
build:
context: .
dockerfile: LensLooker/Dockerfile
depends_on:
db:
condition: service_healthy
restart: unless-stopped
site:
environment:
CUSTOMCONNSTR_LensLookerContext: "${CONNSTR}"
Sentry__Dsn: "${SENTRY_DSN_SITE}"
build:
context: .
dockerfile: LensLooker.Site/Dockerfile
ports:
- 8080:80/tcp
depends_on:
db:
condition: service_healthy
restart: unless-stopped
db:
image: mcr.microsoft.com/azure-sql-edge
user: root
healthcheck:
test: /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P "$$SA_PASSWORD" -Q "SELECT 1" || exit 1
interval: 10s
timeout: 3s
retries: 10
start_period: 20s
volumes:
- ./.db/data:/var/opt/mssql/data
- ./.db/log:/var/opt/mssql/log
- ./.db/secrets:/var/opt/mssql/secrets
environment:
SA_PASSWORD: "${DB_PASSWORD}"
ACCEPT_EULA: "Y"
restart: unless-stopped