volumes:
  container_name: weblate-volumes
  image: tianon/true
  volumes:
    - /docker/weblate/config:/app/etc:ro
    - /docker/weblate/db:/var/lib/postgresql/data

server:
  container_name: weblate
  build: .
  environment:
    SECRET_KEY: Un1c0rns_4R3_4w3$0m3
    ADMIN_PASSWORD: Un1c0rn

    TIME_ZONE: Europe/Berlin
    SITE_TITLE: Dockweblate

    LANGUAGE_CODE: de-de

    WEBLATE_DEBUG: 1
    WEBLATE_ADMIN_NAME: Maik
    WEBLATE_ADMIN_EMAIL: weblate@example.com
    WEBLATE_EMAIL: weblate@example.com

    EMAIL_HOST: smtp.gmail.com
    EMAIL_HOST_USER: Herbert
    EMAIL_HOST_PASSWORD: Un1c0rn
    EMAIL_PORT=465
  links:
    - database
    - cache
  volumes_from:
    - volumes
  restart: always

database:
  container_name: weblate-db
  image: postgres:9.4
  volumes_from:
    - volumes
  restart: always
  environment:
    POSTGRES_PASSWORD: weblate
    POSTGRES_USER: weblate

cache:
  container_name: weblate-cache
  image: memcached:1.4

volumes:
  container_name: weblate-volumes
  image: tianon/true
  volumes:
    - /docker/weblate/config:/app/etc:ro
    - /docker/weblate/db:/var/lib/postgresql/data

server:
  container_name: weblate
  build: .
  environment:
    SECRET_KEY: Un1c0rns_4R3_4w3$0m3
    ADMIN_PASSWORD: Un1c0rn

    TIME_ZONE: Europe/Berlin
    SITE_TITLE: Dockweblate

    LANGUAGE_CODE: de-de

    WEBLATE_DEBUG: 1
    WEBLATE_ADMIN_NAME: Maik
    WEBLATE_ADMIN_EMAIL: weblate@example.com
    WEBLATE_EMAIL: weblate@example.com

    EMAIL_HOST: smtp.gmail.com
    EMAIL_HOST_USER: Herbert
    EMAIL_HOST_PASSWORD: Un1c0rn
    EMAIL_PORT: 465
  links:
    - database
    - cache
  volumes_from:
    - volumes
  restart: always

database:
  container_name: weblate-db
  image: kiasaki/alpine-postgres
  volumes_from:
    - volumes
  restart: always
  environment:
    POSTGRES_PASSWORD: weblate
    POSTGRES_USER: weblate

cache:
  container_name: weblate-cache
  image: memcached:1.4

Fix typo and use alpine-postgres
Fix typo and use alpine-postgres