Skip to content

Instantly share code, notes, and snippets.

View mehdishahdoost's full-sized avatar

Mehdi Shahdoost mehdishahdoost

View GitHub Profile
@mehdishahdoost
mehdishahdoost / docker-proxy.md
Last active April 25, 2023 19:00
Set up a http and https proxy for the docker

1- Create the directory

mkdir -p /etc/systemd/system/docker.service.d

2- Create the file

vim /etc/systemd/system/docker.service.d/http-proxy.conf
@mehdishahdoost
mehdishahdoost / JIB.md
Last active April 24, 2023 09:53
How to configure spring boot to use JIB plugin
	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
				<configuration>
					<excludes>
						<exclude>
							<groupId>org.projectlombok</groupId>
sudo lsof -i :3000
kill -9 <PID>