2024-06-24 23:34:10 +00:00
|
|
|
docker-postgres: docker
|
|
|
|
docker compose -f deployments/docker-compose/postgres/docker-compose.yml up
|
|
|
|
|
|
|
|
docker-standalone: docker
|
|
|
|
docker compose -f deployments/docker-compose/standalone/docker-compose.yml up
|
|
|
|
|
|
|
|
docker: go-generate Dockerfile
|
|
|
|
docker build --tag ozon-task .
|
|
|
|
|
|
|
|
go-generate:
|
|
|
|
go generate ./...
|
|
|
|
|
|
|
|
clean: docker-clean
|
|
|
|
|
|
|
|
docker-clean:
|
2024-06-26 01:45:04 +00:00
|
|
|
-docker container rm postgres-ozon-task-1 postgres-postgres-1 standalone-ozon-task-1;\
|
|
|
|
docker volume rm postgres_postgres-data;\
|
|
|
|
docker network rm postgres_default standalone_defaul\
|