28 lines
686 B
YAML
28 lines
686 B
YAML
version: '3'
|
|
services:
|
|
database:
|
|
image: postgres:15
|
|
container_name: bump-database
|
|
environment:
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_DB=db
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./postgres-data:/var/lib/postgresql/data
|
|
- ./postgresql.conf:/etc/postgresql.conf
|
|
command: postgres -c config_file=/etc/postgresql.conf
|
|
ports:
|
|
- "5555:5555"
|
|
bump-server:
|
|
build:
|
|
context: ./bump
|
|
image: maenle/bump-server:latest
|
|
container_name: bump-server
|
|
volumes:
|
|
- ../bump_server:/app
|
|
ports:
|
|
- "4012:4012"
|
|
depends_on:
|
|
- database
|