-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathweb.yml
42 lines (42 loc) · 955 Bytes
/
web.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
version: '3'
services:
####################################################
# OSM API and Database section
####################################################
db:
platform: linux/amd64
image: osmseed-db:v1
build:
context: ../images/db
dockerfile: Dockerfile
ports:
- '5432:5432'
volumes:
- ../data/db-data:/var/lib/postgresql/data
env_file:
- ../envs/.env.db
web:
image: osmseed-web:v1
build:
context: ../images/web
dockerfile: Dockerfile
ports:
- '80:80'
env_file:
- ../envs/.env.web
- ../envs/.env.db
depends_on:
- db
web_dashboard:
build: ../images/web_dashboard
volumes:
- ../data/web_bashboard-data:/var/lib/postgresql/data
# - ../images/web_dashboard/app/:/app
ports:
- 8000:8000
- 5433:5432
env_file:
- ../envs/.env.web_dashboard
depends_on:
- db
working_dir: /app