type: s/yt

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: Sat Nov 29 2025