Compare commits

..

No commits in common. "72ee47c5432b39c8f8df873f57f7708584078a58" and "9e05d2080a8f127fb0bdb7600900d254a99c8394" have entirely different histories.

3 changed files with 13 additions and 35 deletions

View File

@ -7,12 +7,8 @@ services:
networks:
- common-infra-nginx-development
ports:
- published: 80
target: 80
mode: host
- published: 443
target: 443
mode: host
- "80:80"
- "443:443"
deploy:
mode: replicated
replicas: 1

View File

@ -7,12 +7,8 @@ services:
networks:
- common-infra-nginx
ports:
- published: 80
target: 80
mode: host
- published: 443
target: 443
mode: host
- "80:80"
- "443:443"
deploy:
mode: replicated
replicas: 1
@ -37,9 +33,7 @@ services:
start_period: 20s
timeout: 10s
ports:
- published: 5432
target: 5432
mode: host
- "5432:5432"
deploy:
mode: replicated
restart_policy:
@ -63,9 +57,7 @@ services:
MONGO_INITDB_ROOT_USERNAME: mongo
MONGO_INITDB_ROOT_PASSWORD: $MONGO_PASSWORD_PROD
ports:
- published: 27017
target: 27017
mode: host
- "27017:27017"
deploy:
mode: replicated
restart_policy:
@ -81,12 +73,8 @@ services:
volumes:
- /sprint-data/rabbitmq:/var/lib/rabbitmq
ports:
- published: 5672
target: 5672
mode: host
- published: 15672
target: 15672
mode: host
- "5672:5672"
- "15672:15672"
environment:
RABBITMQ_DEFAULT_PASS: $RABBITMQ_PASSWORD_PROD
deploy:
@ -104,9 +92,7 @@ services:
volumes:
- /sprint-data/redis:/data
ports:
- published: 6379
target: 6379
mode: host
- "6379:6379"
command: redis-server --requirepass $REDIS_PASSWORD_PROD
deploy:
mode: replicated
@ -126,12 +112,8 @@ services:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: $MINIO_PASSWORD_PROD
ports:
- published: 9000
target: 9000
mode: host
- published: 9001
target: 9001
mode: host
- "9000:9000"
- "9001:9001"
deploy:
mode: replicated
placement:

View File

@ -9,7 +9,7 @@ on:
jobs:
build:
name: Build
runs-on: [ prod ]
runs-on: [ dev ]
steps:
- name: login
run: docker login -u mathwave -p ${{ secrets.DOCKERHUB_PASSWORD }}
@ -23,7 +23,7 @@ jobs:
run: docker build -t mathwave/sprint-repo:gitea-runner gitea-runner
push:
name: Push
runs-on: [ prod ]
runs-on: [ dev ]
needs: build
steps:
- name: push nginx prod