~dricottone/huttese

ref: 3792612e41649738053ff29f84fea07f0dc0cb17 huttese/Makefile -rw-r--r-- 610 bytes
3792612eDominic Ricottone Initial commit 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
image:
	docker build . --tag tatooine

clean:
	docker rm --force tatooine-dev

run:
	docker run -it --name tatooine-dev \
		--hostname tatooine -p 80:8080 \
		--mount type=bind,src=/home/al_dente/dev/huttese/redis-data,dst=/data \
		--mount type=bind,src=/home/al_dente/dev/huttese/postgresql-data,dst=/var/lib/postgresql/data \
		tatooine

start:
	docker run --detach --name tatooine-dev \
		--hostname tatooine -p 80:8080 \
		--mount type=bind,src=/home/al_dente/dev/huttese/redis-data,dst=/data \
		--mount type=bind,src=/home/al_dente/dev/huttese/postgresql-data,dst=/var/lib/postgresql/data \
		tatooine