Last active
September 15, 2023 17:15
-
-
Save pantsel/5e25b77fbb940498053fdcb589ca96fd to your computer and use it in GitHub Desktop.
kong-postgres-konga compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
volumes: | |
db-data: {} | |
services: | |
konga: | |
image: pantsel/konga | |
environment: | |
NODE_ENV: production | |
stdin_open: true | |
network_mode: bridge | |
volumes: | |
- /var/data/konga:/app/kongadata | |
tty: true | |
links: | |
- kong:kong | |
ports: | |
- 1337:1337/tcp | |
labels: | |
io.rancher.container.pull_image: always | |
postgres: | |
image: postgres:9.4 | |
environment: | |
POSTGRES_DB: kong | |
POSTGRES_USER: kong | |
network_mode: bridge | |
volumes: | |
- db-data:/var/lib/postgresql/data | |
ports: | |
- 5432:5432/tcp | |
kong: | |
image: kong:latest | |
environment: | |
KONG_DATABASE: postgres | |
KONG_PG_HOST: kong-database | |
links: | |
- postgres:kong-database | |
ports: | |
- 8000:8000/tcp | |
- 443:8443/tcp | |
- 8001:8001/tcp | |
- 7946:7946/tcp | |
- 7946:7946/udp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment