This repository has been archived on 2021-10-25. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-08-19 22:39:14 +02:00
|
|
|
# I just use this compose file to easily start up test databases
|
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
2021-10-25 21:28:22 +02:00
|
|
|
db-gw:
|
|
|
|
image: 'postgres:14-alpine'
|
2021-08-19 22:39:14 +02:00
|
|
|
restart: 'always'
|
|
|
|
|
|
|
|
environment:
|
|
|
|
- 'POSTGRES_USER=rb'
|
|
|
|
- 'POSTGRES_PASSWORD=rb'
|
|
|
|
ports:
|
|
|
|
- '5432:5432'
|
2021-10-25 21:28:22 +02:00
|
|
|
# volumes:
|
|
|
|
# - 'db-data:/var/lib/postgresql/data'
|
|
|
|
db-blog:
|
|
|
|
image: 'postgres:14-alpine'
|
|
|
|
restart: 'always'
|
|
|
|
|
|
|
|
environment:
|
|
|
|
- 'POSTGRES_USER=rb'
|
|
|
|
- 'POSTGRES_PASSWORD=rb'
|
|
|
|
ports:
|
|
|
|
- '5433:5432'
|
2021-08-19 22:39:14 +02:00
|
|
|
|
2021-10-25 21:28:22 +02:00
|
|
|
# volumes:
|
|
|
|
# db-data:
|