type: fragment

images

docker init

services:
	backend:
		build: .
		ports: 
		- '9000:9000'
	db:
		image: postgres:latest
		environment:
			POSTGRES_USER: user
			POSTGRES_PASSWORD: pass
			POSTGRES_DB: mydb
		volumes:
			- postgres_data:/var/lib/postgersql/data
volumes:
	postgres_data:
	

docker commands

created on: Wed Nov 26 2025