topic/cleaning #4
1
Makefile
1
Makefile
|
@ -9,4 +9,5 @@ build-binary:
|
|||
|
||||
run: build-binary up
|
||||
|
||||
|
||||
.PHONY: build-binary run build up
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
FROM golang:alpine as builder
|
||||
|
||||
|
||||
ADD bins/genityapp /etc/local/genityapp
|
||||
|
||||
WORKDIR /etc/local/
|
||||
|
|
|
@ -11,7 +11,7 @@ services:
|
|||
- "5432"
|
||||
restart: always
|
||||
networks:
|
||||
- genity_network
|
||||
- genityapp_network
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
|
@ -25,9 +25,9 @@ services:
|
|||
links:
|
||||
- db
|
||||
networks:
|
||||
- genity_network
|
||||
- genityapp_network
|
||||
volumes:
|
||||
db_postgres:
|
||||
networks:
|
||||
genity_network:
|
||||
genityapp_network:
|
||||
driver: bridge
|
Loading…
Reference in a new issue