ansible/playbooks/tasks/web/pleroma.yml

25 lines
826 B
YAML
Raw Normal View History

2021-08-07 16:49:24 -05:00
# vim:ft=ansible:
- name: docker deploy pleroma
docker_container:
name: pleroma
2024-05-21 19:01:29 -05:00
# Note: this container is defunct
# Switch to this: https://github.com/angristan/docker-pleroma
2021-08-07 16:49:24 -05:00
image: jordemort/pleroma
state: absent
2021-08-07 16:49:24 -05:00
env:
TZ: "America/Chicago"
2024-05-21 19:01:29 -05:00
# 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
2021-08-07 16:49:24 -05:00
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 ]