Commit b7d7979c authored by kaiyou's avatar kaiyou

Add a simple weblate config

parent a70b3750
version: '2.1'
services:
weblate:
image: weblate/weblate
labels:
- traefik.enable=true
- traefik.frontend.rule=${hostname}
- traefik.port=80
volumes:
- ./data:/app/data
environment:
- WEBLATE_LOGLEVEL=INFO
- WEBLATE_SITE_TITLE
- WEBLATE_ADMIN_NAME
- WEBLATE_ADMIN_EMAIL
- WEBLATE_SERVER_EMAIL=translate@tedomum.net
- WEBLATE_REGISTRATION_OPEN=1
- WEBLATE_EMAIL_HOST
- WEBLATE_EMAIL_USER
- WEBLATE_EMAIL_PASSWORD
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DATABASE
- POSTGRES_HOST=db
- REDIS_HOST=cache
db:
image: postgres:9.6
volumes:
- ./db:/var/lib/postgresql/data
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DATABASE
cache:
image: redis:4
command: ["redis-server", "--appendonly", "yes"]
volumes:
- ./redis:/data
networks:
default:
enable_ipv6: true
driver: bridge
ipam:
driver: default
config:
- subnet: "${prefix}/64"
gateway: "${prefix}1"
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