-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.dev.yml
60 lines (56 loc) · 1.28 KB
/
compose.dev.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '3.7'
services:
hydra:
image: oryd/hydra:v1.9.2
ports:
- 4444:4444
- 4445:4445
- 5555:5555
command:
serve -c /etc/config/hydra/hydra.yml all --dangerous-force-http
volumes:
-
type: bind
source: ./hydra-config/dev
target: /etc/config/hydra
env_file:
.env
depends_on:
- hydra-migrate
restart: always
hydra-migrate:
image: oryd/hydra:v1.9.2
command:
migrate -c /etc/config/hydra/hydra.yml sql -e --yes
volumes:
-
type: bind
source: ./hydra-config/dev
target: /etc/config/hydra
env_file:
.env
restart: on-failure
dev-db:
platform: linux/amd64
image: mdillon/postgis:9.6-alpine
restart: 'always'
ports:
- 5433:5432
environment:
- ALLOW_IP_RANGE=0.0.0.0/0
- POSTGRES_DB=osm-teams
- PGDATA=/opt/postgres/data
volumes:
- ./docker-data/dev-db:/opt/postgres/data
test-db:
platform: linux/amd64
image: mdillon/postgis:9.6-alpine
restart: 'always'
ports:
- 5434:5432
environment:
- ALLOW_IP_RANGE=0.0.0.0/0
- POSTGRES_DB=osm-teams-test
- PGDATA=/opt/postgres/data
volumes:
- ./docker-data/test-db:/opt/postgres/data