-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (36 loc) · 940 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (36 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
version: '3.1'
services:
EnglishVkBot.IdentityServer:
build: EnglishVkBot
image: "registry.gitlab.com/excalib88/EnglishVkBot/id:${TAG}"
restart: always
expose:
- "5001"
command: ["--migrate", "--continue"]
depends_on:
- postgres
environment:
ClientAddress: 'https://localhost:5002/'
ConnectionStrings__DefaultConnection: 'Server=postgres;Port=5432;Database=IdentityServer;User Id=postgres;Password=postgres;'
nginx-proxy:
image: nginx
restart: always
ports:
- "80:80"
- "443:443"
depends_on:
- EnglishVkBot
- EnglishVkBot.API
- EnglishVkBot.IdentityServer
volumes:
- './nginx.conf:/etc/nginx/nginx.conf:ro'
- './ssl:/etc/nginx/certs:ro'
postgres:
image: mdillon/postgis
restart: always
environment:
POSTGRES_PASSWORD: postgres
volumes:
- pg_data:/var/lib/postgresql
volumes:
pg_data: