-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (41 loc) · 854 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (41 loc) · 854 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.1"
services:
nginx:
container_name: nginx
build:
context: ./nginx
dockerfile: Dockerfile
ports:
- 443:443
- 80:80
db:
image: postgres
restart: always
container_name: 3r_db
environment:
POSTGRES_PASSWORD: root_pass
POSTGRES_USER: postgres
volumes:
- ./scripts/db:/docker-entrypoint-initdb.d
- /var/lib/3rstore/db-data/db:/var/lib/postgresql/data
ports:
- 5432:5432
adminer:
image: adminer
restart: always
container_name: adminer
ports:
- 8080:8080
service:
container_name: service
build:
context: .
dockerfile: Dockerfile
environment:
FLASK_APP: /3RStore/_3RStore/__init__.py
LOCAL_EXEC: "true"
FLASK_DEBUG: "true"
volumes:
- .:/3RStore/
ports:
- 8081:8081