2020-06-19 19:58:18 +00:00
|
|
|
version: "2.2"
|
2020-02-10 18:52:12 +00:00
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
gitea:
|
2020-06-19 19:58:08 +00:00
|
|
|
image: gitea/gitea:1.12
|
2020-02-10 18:52:12 +00:00
|
|
|
restart: always
|
|
|
|
volumes:
|
|
|
|
- ./volumes/gitea:/data
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:3000:3000"
|
|
|
|
- "222:22"
|
|
|
|
environment:
|
|
|
|
- GITEA_HOSTNAME=${GITEA_HOSTNAME}
|
|
|
|
depends_on:
|
2020-10-05 13:41:43 +00:00
|
|
|
- postgres
|
2020-02-10 18:52:12 +00:00
|
|
|
- redis
|
|
|
|
- postfix
|
2020-06-19 19:58:18 +00:00
|
|
|
mem_limit: 500m
|
2020-02-10 18:52:12 +00:00
|
|
|
|
2020-02-29 19:42:45 +00:00
|
|
|
weblate:
|
2020-10-05 13:41:43 +00:00
|
|
|
image: weblate/weblate:4.2.2-1
|
2020-02-29 19:42:45 +00:00
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 127.0.0.1:3001:8080
|
|
|
|
environment:
|
2020-06-19 19:58:08 +00:00
|
|
|
- WEBLATE_EMAIL_HOST=postfix
|
2020-02-29 22:06:40 +00:00
|
|
|
- WEBLATE_EMAIL_USE_TLS=0
|
|
|
|
- WEBLATE_ALLOWED_HOSTS=${WEBLATE_HOSTNAME},127.0.0.1
|
2020-02-29 19:42:45 +00:00
|
|
|
- WEBLATE_ADMIN_PASSWORD=${WEBLATE_ADMIN_PASSWORD}
|
|
|
|
- WEBLATE_ADMIN_NAME="Weblate admin"
|
|
|
|
- WEBLATE_ADMIN_EMAIL=noreply@${WEBLATE_HOSTNAME}
|
|
|
|
- WEBLATE_SERVER_EMAIL=noreply@${WEBLATE_HOSTNAME}
|
|
|
|
- WEBLATE_DEFAULT_FROM_EMAIL=noreply@${WEBLATE_HOSTNAME}
|
2020-10-05 13:41:43 +00:00
|
|
|
- WEBLATE_SITE_DOMAIN=${WEBLATE_HOSTNAME}
|
|
|
|
- WEBLATE_DEBUG=false
|
2020-02-29 19:42:45 +00:00
|
|
|
- REDIS_HOST=redis
|
|
|
|
- REDIS_DB=2
|
|
|
|
- POSTGRES_PASSWORD=${WEBLATE_POSTGRES_PASSWORD}
|
|
|
|
- POSTGRES_USER=weblate
|
|
|
|
- POSTGRES_DATABASE=weblate
|
2020-06-19 19:58:08 +00:00
|
|
|
- POSTGRES_HOST=postgres
|
|
|
|
- POSTGRES_PORT=5432
|
2020-02-29 19:42:45 +00:00
|
|
|
volumes:
|
|
|
|
- ./volumes/weblate:/app/data
|
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
- redis
|
2020-10-05 13:41:43 +00:00
|
|
|
- postfix
|
2020-02-29 19:42:45 +00:00
|
|
|
|
2020-06-28 12:19:29 +00:00
|
|
|
grafana:
|
|
|
|
image: grafana/grafana:7.0.4
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 127.0.0.1:3002:3000
|
|
|
|
volumes:
|
|
|
|
- ./volumes/grafana:/var/lib/grafana
|
2020-06-29 17:05:22 +00:00
|
|
|
depends_on:
|
|
|
|
- influxdb
|
|
|
|
|
|
|
|
influxdb:
|
|
|
|
image: influxdb:1.7
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 127.0.0.1:8086:8086
|
|
|
|
environment:
|
2020-10-21 10:29:29 +00:00
|
|
|
- INFLUXDB_REPORTING_DISABLED=true
|
2020-06-29 17:05:22 +00:00
|
|
|
volumes:
|
|
|
|
- ./volumes/influxdb:/var/lib/influxdb
|
|
|
|
- ./influxdb.conf:/etc/influxdb/influxdb.conf:ro
|
2020-06-28 12:19:29 +00:00
|
|
|
|
2020-02-29 19:42:45 +00:00
|
|
|
postgres:
|
|
|
|
image: postgres:12-alpine
|
|
|
|
restart: always
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=weblate
|
|
|
|
- POSTGRES_PASSWORD=${WEBLATE_POSTGRES_PASSWORD}
|
|
|
|
volumes:
|
|
|
|
- ./volumes/postgres:/var/lib/postgresql/data
|
|
|
|
|
2020-02-10 18:52:12 +00:00
|
|
|
redis:
|
|
|
|
image: redis:5.0-alpine
|
|
|
|
restart: always
|
|
|
|
command: redis-server --appendonly yes
|
|
|
|
volumes:
|
|
|
|
- ./volumes/redis:/data
|
|
|
|
|
|
|
|
postfix:
|
|
|
|
image: mwader/postfix-relay
|
|
|
|
environment:
|
|
|
|
- POSTFIX_myhostname=${GITEA_HOSTNAME}
|
|
|
|
restart: "always"
|