Commit e07cdd60 authored by Morbi's avatar Morbi

add nginx-proxy

parent af1a5923
version: '2'
services:
nginx-proxy:
image: jwilder/nginx-proxy
restart: unless-stopped
ports:
- 80:80
- 443:443
volumes:
- ./data/nginx/certs:/etc/nginx/certs:ro
- ./data/nginx/conf.d:/etc/nginx/conf.d:ro
- ./data/nginx/vhost.d:/etc/nginx/vhost.d
- ./data/nginx/html:/usr/share/nginx/html
- /var/run/docker.sock:/tmp/docker.sock:ro
networks:
sangha-api_default:
external: true
sangha-donate_default:
external: true
nginx-letsencrypt-companion:
image: jrcs/letsencrypt-nginx-proxy-companion
restart: unless-stopped
volumes_from:
- nginx-proxy
volumes:
- ./data/nginx/certs:/etc/nginx/certs:rw
- /var/run/docker.sock:/var/run/docker.sock:ro
\ No newline at end of file
version: '2'
services:
sangha-postgres:
restart: unless-stopped
image: registry.gitlab.techcultivation.org/sangha/sangha-deployment/sangha-postgres:deployment
volumes:
- ./data/database:/var/lib/postgresql
- ./data/config/pg_hba.conf:/var/lib/postgresql/pg_hba.conf
working_dir: /var/lib/postgresql
environment:
PGDATA: /var/lib/postgresql
sangha-api:
restart: unless-stopped
image: registry.gitlab.techcultivation.org/sangha/sangha-deployment/sangha-api:deployment
volumes:
- ./data/config:/var/lib/sangha
- ./data/config/nsswitch.conf:/etc/nsswitch.conf
working_dir: /var/lib/sangha
command: /bin/sangha serve
environment:
- LETSENCRYPT_EMAIL="hostmaster@techcultivation.org"
- LETSENCRYPT_HOST="api.techcultivation.org"
- VIRTUAL_HOST="api.techcultivation.org"
- VIRTUAL_PORT="9991"
sangha-rabbitmq:
restart: unless-stopped
image: registry.gitlab.techcultivation.org/sangha/sangha-deployment/sangha-rabbitmq:deployment
......@@ -4,38 +4,42 @@ services:
sangha-donate-live:
image: registry.gitlab.techcultivation.org/sangha/sangha-donate:v1.0.0-beta2
restart: unless-stopped
ports:
- 127.0.0.1:8080:80
environment:
- LETSENCRYPT_EMAIL="hostmaster@techcultivation.org"
- LETSENCRYPT_HOST="donate.techcultivation.org"
- VIRTUAL_HOST="donate.techcultivation.org"
- API_URL=https://api.sangha.techcultivation.org/v1
- SENTRY_DSN
- NAVBAR_SIMPLE=true
- CART_DISABLED=true
#- RENDERTRON_URL=http://rendertron:8080/render/
sangha-donate-sandbox:
image: registry.gitlab.techcultivation.org/sangha/sangha-donate:dev
restart: unless-stopped
ports:
- 127.0.0.1:8081:80
environment:
- LETSENCRYPT_EMAIL="hostmaster@techcultivation.org"
- LETSENCRYPT_HOST="sandbox.donate.techcultivation.org"
- VIRTUAL_HOST="sandbox.donate.techcultivation.org"
- API_URL=https://sandbox.api.sangha.techcultivation.org/v1
- SENTRY_DSN
- PRIMARY_COLOR=#283593
- CART_DISABLED=true
#- RENDERTRON_URL=http://rendertron:8080/render/
sangha-embed-live:
image: registry.gitlab.techcultivation.org/sangha-webcomponents/sangha-embed:v1.1.1
restart: unless-stopped
ports:
- 127.0.0.1:8090:80
environment:
- LETSENCRYPT_EMAIL="hostmaster@techcultivation.org"
- LETSENCRYPT_HOST="embed.techcultivation.org"
- VIRTUAL_HOST="embed.techcultivation.org"
sangha-embed-sandbox:
image: registry.gitlab.techcultivation.org/sangha-webcomponents/sangha-embed:dev
restart: unless-stopped
ports:
- 127.0.0.1:8091:80
environment:
- LETSENCRYPT_EMAIL="hostmaster@techcultivation.org"
- LETSENCRYPT_HOST="sandbox.embed.techcultivation.org"
- VIRTUAL_HOST="sandbox.embed.techcultivation.org"
sangha-settings-live:
image: registry.gitlab.techcultivation.org/sangha/sangha-frontend-settings:latest
......@@ -52,7 +56,3 @@ services:
- 127.0.0.1:9981:80
environment:
- ENVIRONMENT=sandbox
# rendertron:
# image: samdotli/rendertron
# restart: unless-stopped
version: '2'
services:
rabbit:
image: rabbitmq
hostname: rabbit
ports:
- 5672:5672
- 8080:15672
environment:
- RABBITMQ_DEFAULT_USER=user
- RABBITMQ_DEFAULT_PASS=password
- RABBITMQ_DEFAULT_VHOST=rabbit
......@@ -15,11 +15,9 @@ services:
restart: unless-stopped
image: memcached:1.4
sentry:
sentry-worker:
image: sentry:8
restart: unless-stopped
ports:
- 127.0.0.1:9000:9000
links: &links
- redis
- postgres
......@@ -34,21 +32,33 @@ services:
- SENTRY_REDIS_HOST=redis
- SENTRY_MEMCACHED_HOST=memcached
- SENTRY_USE_SSL=1
command: "sentry run worker"
sentry-worker:
sentry-cron:
image: sentry:8
restart: unless-stopped
links:
*links
environment:
*env
command: "sentry run worker"
command: "sentry run cron"
sentry-cron:
sentry:
image: sentry:8
restart: unless-stopped
links:
*links
environment:
*env
command: "sentry run cron"
- LETSENCRYPT_EMAIL="hostmaster@techcultivation.org"
- LETSENCRYPT_HOST="sentry.techcultivation.org"
- VIRTUAL_HOST="sentry.techcultivation.org"
- SENTRY_SECRET_KEY
- SENTRY_SERVER_EMAIL=sentry@techcultivation.org
- SENTRY_EMAIL_HOST=smtp.techcultivation.org
- SENTRY_EMAIL_USER=sentry@techcultivation.org
- SENTRY_EMAIL_PASSWORD
- SENTRY_EMAIL_USE_TLS=1
- SENTRY_POSTGRES_HOST=postgres
- SENTRY_REDIS_HOST=redis
- SENTRY_MEMCACHED_HOST=memcached
- SENTRY_USE_SSL=1
......@@ -27,8 +27,10 @@ services:
depends_on:
- zammad
- zammad-websocket
ports:
- 127.0.0.1:9010:80
environment:
- LETSENCRYPT_EMAIL="hostmaster@techcultivation.org"
- LETSENCRYPT_HOST="zammad.techcultivation.org"
- VIRTUAL_HOST="zammad.techcultivation.org"
zammad:
image: registry.gitlab.techcultivation.org/techcultivation/zammad-compose/zammad:${VERSION}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment