You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-background-jobs/docker-compose.yaml

16 lines
336 B
YAML

version: '3.8'
services:
postgres:
image: postgres:16
container_name: my_postgres
environment:
POSTGRES_USER: myuser
POSTGRES_PASSWORD: mypassword
POSTGRES_DB: mydatabase
ports:
- "5433:5432" # Host:Container
volumes:
- ./.pg_data:/var/lib/postgresql/data
user: "${UID}:${GID}"