remove unnecessary definitions
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-07-26 18:54:01 +02:00
parent 2e4bb78823
commit ea99c21f40

View File

@ -3,8 +3,6 @@ version: '3'
networks: networks:
drone: drone:
external: false external: false
sentry:
external: false
nexus: nexus:
external: false external: false
gitea: gitea:
@ -28,7 +26,6 @@ services:
- SENDGRID_API=SENDGRID-API-KEY - SENDGRID_API=SENDGRID-API-KEY
networks: networks:
- drone - drone
- sentry
- gitea - gitea
- youtrack - youtrack
- sonar - sonar
@ -89,94 +86,6 @@ services:
- DRONE_RPC_HOST=drone.kmlabz.com - DRONE_RPC_HOST=drone.kmlabz.com
- DRONE_RPC_SECRET=DRONE-SECRET - DRONE_RPC_SECRET=DRONE-SECRET
sentry-redis:
image: redis:6
networks:
- sentry
sentry-memcached:
image: memcached:1
networks:
- sentry
sentry-postgres:
image: postgres:12
environment:
POSTGRES_USER: sentry
POSTGRES_PASSWORD: sentry
POSTGRES_DB: sentry
networks:
- sentry
volumes:
- ./sentry_postgres:/var/lib/postgresql/data
sentry:
image: sentry:9
ports:
- "127.0.0.1:9000:9000"
networks:
- sentry
environment:
SENTRY_SECRET_KEY: 'SENTRY-SECRET'
SENTRY_POSTGRES_HOST: sentry-postgres
SENTRY_DB_USER: sentry
SENTRY_DB_PASSWORD: sentry
SENTRY_REDIS_HOST: sentry-redis
SENTRY_MEMCACHED_HOST: sentry-memcached
SENTRY_SERVER_EMAIL: sentry@kmlabz.com
SENTRY_EMAIL_HOST: smtp
depends_on:
- sentry-postgres
- sentry-redis
- sentry-memcached
- smtp
volumes:
- ./sentry-data:/var/lib/sentry/files
sentry-cron:
image: sentry:9
command: "sentry run cron"
networks:
- sentry
environment:
SENTRY_SECRET_KEY: 'SENTRY-SECRET'
SENTRY_POSTGRES_HOST: sentry-postgres
SENTRY_DB_USER: sentry
SENTRY_DB_PASSWORD: sentry
SENTRY_REDIS_HOST: sentry-redis
SENTRY_MEMCACHED_HOST: sentry-memcached
SENTRY_SERVER_EMAIL: sentry@kmlabz.com
SENTRY_EMAIL_HOST: stmp
depends_on:
- sentry-postgres
- sentry-redis
- sentry-memcached
- smtp
volumes:
- ./sentry-data:/var/lib/sentry/files
sentry-worker:
image: sentry:9
command: "sentry run worker"
networks:
- sentry
environment:
SENTRY_SECRET_KEY: 'SENTRY-SECRET'
SENTRY_POSTGRES_HOST: sentry-postgres
SENTRY_DB_USER: sentry
SENTRY_DB_PASSWORD: sentry
SENTRY_REDIS_HOST: sentry-redis
SENTRY_MEMCACHED_HOST: sentry-memcached
SENTRY_SERVER_EMAIL: sentry@kmlabz.com
SENTRY_EMAIL_HOST: smtp
depends_on:
- sentry-postgres
- sentry-redis
- sentry-memcached
- smtp
volumes:
- ./sentry-data:/var/lib/sentry/files
nexus: nexus:
image: sonatype/nexus3 image: sonatype/nexus3
networks: networks:
@ -287,9 +196,6 @@ services:
- ./sonar/extensions:/opt/sonarqube/extensions - ./sonar/extensions:/opt/sonarqube/extensions
ports: ports:
- "127.0.0.1:8989:9000" - "127.0.0.1:8989:9000"
dns:
- 1.1.1.1
- 8.8.8.8
environment: environment:
- SONARQUBE_JDBC_URL=jdbc:postgresql://sonar-db:5432/sonar - SONARQUBE_JDBC_URL=jdbc:postgresql://sonar-db:5432/sonar
- SONARQUBE_JDBC_PASSWORD=sonar - SONARQUBE_JDBC_PASSWORD=sonar
@ -305,9 +211,6 @@ services:
- POSTGRES_DB=sonar - POSTGRES_DB=sonar
networks: networks:
- sonar - sonar
dns:
- 1.1.1.1
- 8.8.8.8
asyncapi: asyncapi:
restart: unless-stopped restart: unless-stopped