-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (32 loc) · 887 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (32 loc) · 887 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
version: "3.7"
services:
registry_db:
container_name: registry_db
build:
context: .
target: libreg_local_db
volumes:
- registry_db_data:/var/lib/postgresql/data
ports:
- "5433:5433"
environment:
- PGPORT=5433
registry_webapp:
container_name: registry_webapp
depends_on:
- registry_db
build:
context: .
target: libreg_local
ports:
- "80:80"
environment:
- SIMPLIFIED_TEST_DATABASE=${SIMPLIFIED_TEST_DATABASE-postgresql://simplified_test:simplified_test@registry_db:5433/simplified_registry_test}
- SIMPLIFIED_PRODUCTION_DATABASE=${SIMPLIFIED_PRODUCTION_DATABASE-postgresql://simplified:simplified@registry_db:5433/simplified_registry_dev}
volumes:
- type: bind
source: .
target: /simplified_app
read_only: true
volumes:
registry_db_data: