-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (45 loc) · 940 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (45 loc) · 940 Bytes
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
version: "3.9"
services:
fproject.server:
image: fprojectserver:${VERSION}
build:
context: .
dockerfile: FProject/Server/Dockerfile
ports:
- "80"
- "443"
environment:
- ASPNETCORE_URLS=https://+:443;http://+:80
volumes:
- type: volume
source: dataset
target: /app/Data/InkMLs/Dataset
- type: volume
source: DataProtection-Keys
target: /root/.aspnet/DataProtection-Keys
networks:
- app
- postgres
depends_on:
- fproject.postgres
fproject.postgres:
image: postgres
expose:
- "5432"
environment:
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
volumes:
- type: volume
source: postgres-data
target: /var/lib/postgresql/data
networks:
- app
- postgres
volumes:
postgres-data:
dataset:
DataProtection-Keys:
networks:
app:
postgres:
attachable: true