-
Notifications
You must be signed in to change notification settings - Fork 0
/
registry.yml
34 lines (30 loc) · 858 Bytes
/
registry.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
version: "3"
volumes:
postgre_apicurio:
services:
apicurio-db:
ports:
- '5432:5432'
image: 'postgres:9.6'
environment:
POSTGRES_DB: apicuriodb
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- 'postgre_apicurio:/var/lib/postgresql/data'
registry:
depends_on:
- apicurio-db
container_name: registry
image: quay.io/apicurio/apicurio-registry-sql-native:latest-snapshot
restart: always
ports:
- "8080:8080"
environment:
JAVA_TOOL_OPTIONS: '-Djava.net.preferIPv4Stack=true'
REGISTRY_DATASOURCE_URL: 'jdbc:postgresql://apicurio-db:5432/apicuriodb'
REGISTRY_DATASOURCE_PASSWORD: 'postgres'
REGISTRY_DATASOURCE_USERNAME: 'postgres'
extra_hosts:
- "host.docker.internal:host-gateway"
- "172.17.0.1:host-gateway"