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: # before_script:
# - docker login -u mathwave -p $DOCKERHUB_PASSWORD # - docker login -u mathwave -p $DOCKERHUB_PASSWORD
script: script:
- docker build -t mathwave/sprint-repo:sprint . - docker build -t sprint-base .
- docker build -t local_postgres dockerfiles/postgres - docker build -t local_postgres dockerfiles/postgres
- docker build -t local_rabbitmq dockerfiles/rabbitmq - docker build -t local_rabbitmq dockerfiles/rabbitmq
# - docker push mathwave/sprint-repo:sprint # - docker push mathwave/sprint-repo:sprint

View File

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