This commit is contained in:
Egor Matveev
2022-03-03 00:07:42 +03:00
parent cf5372300e
commit 212aad389c
2 changed files with 9 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ build:
# before_script:
# - docker login -u mathwave -p $DOCKERHUB_PASSWORD
script:
- docker build -t mathwave/sprint-repo:sprint .
- docker build -t sprint-base .
- docker build -t local_postgres dockerfiles/postgres
- docker build -t local_rabbitmq dockerfiles/rabbitmq
# - docker push mathwave/sprint-repo:sprint

View File

@@ -19,7 +19,7 @@ services:
condition: on-failure
migrations:
image: mathwave/sprint-repo:sprint
image: sprint-base
command: ./manage.py migrate
depends_on:
- postgres
@@ -29,7 +29,7 @@ services:
condition: none
web:
image: mathwave/sprint-repo:sprint
image: sprint-base
environment:
PORT: $PORT
HOST: $HOST
@@ -47,7 +47,7 @@ services:
condition: on-failure
storage:
image: mathwave/sprint-repo:sprint
image: sprint-base
command: ./manage.py storage
ports:
- "5555:5555"
@@ -59,7 +59,7 @@ services:
condition: on-failure
bot:
image: mathwave/sprint-repo:sprint
image: sprint-base
environment:
HOST: $HOST
command: ./manage.py bot
@@ -71,7 +71,7 @@ services:
condition: on-failure
loop:
image: mathwave/sprint-repo:sprint
image: sprint-base
environment:
HOST: $HOST
command: ./manage.py loop
@@ -93,7 +93,7 @@ services:
condition: on-failure
worker:
image: mathwave/sprint-repo:sprint
image: sprint-base
privileged: true
command: ./manage.py receive
environment:
@@ -114,7 +114,7 @@ services:
condition: on-failure
apply-languages:
image: mathwave/sprint-repo:sprint
image: sprint-base
command: ./manage.py apply_languages
depends_on:
- migrations
@@ -126,7 +126,7 @@ services:
condition: none
notify-admin:
image: mathwave/sprint-repo:sprint
image: sprint-base
command: ./manage.py success_deploy
depends_on:
- migrations