25 lines
826 B
YAML
25 lines
826 B
YAML
# vim:ft=ansible:
|
|
- name: docker deploy pleroma
|
|
docker_container:
|
|
name: pleroma
|
|
# Note: this container is defunct
|
|
# Switch to this: https://github.com/angristan/docker-pleroma
|
|
image: jordemort/pleroma
|
|
state: absent
|
|
env:
|
|
TZ: "America/Chicago"
|
|
# This value is wrong because we're on Hetzner now, which is on a 10.0.0.0/8
|
|
# In fact, most of these envvars are wrong
|
|
POSTGRES_HOST: 192.168.164.156
|
|
POSTGRES_DB: pleroma_cowfee
|
|
POSTGRES_USER: pleroma-cowfee
|
|
POSTGRES_PASSWORD: "{{ secret_pleroma_9iron_db_pass }}"
|
|
networks:
|
|
- name: web
|
|
aliases: [ "pleroma" ]
|
|
volumes:
|
|
- /data/pleroma/etc:/etc/pleroma
|
|
- /data/pleroma/static:/var/lib/pleroma/static
|
|
- /data/pleroma/uploads:/var/lib/pleroma/uploads
|
|
tags: [ docker, pleroma ]
|