-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
45 lines (37 loc) · 925 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.3"
services:
#######################################################
# Postgres
######################################################
postgres:
image: postgres:latest
container_name: postgres
restart: unless-stopped
ports:
- '5432:5432'
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
command:
- "postgres"
- "-c"
- "wal_level=logical"
- "-c"
- "max_prepared_transactions=10"
#######################################################
# ECommerce
#######################################################
ecommerce:
image: ecommerce
build:
args:
Version: "1"
context: ../../
dockerfile: Dockerfile
container_name: ecommerce
ports:
- 5000:80
environment:
- ASPNETCORE_ENVIRONMENT=docker
- ASPNETCORE_URLS=http://+
- ASPNETCORE_HTTP_PORT=5000