NewsBlur-viq/ansible/roles/postgres/tasks/main.yml

17 lines
366 B
YAML
Raw Normal View History

2021-02-03 10:43:08 -05:00
---
- name: Start postgres container
docker_container:
name: postgres
image: postgres:13.1
state: started
env:
DOCKERBUILD: "True"
POSTGRES_USER: newsblur
POSTGRES_PASSWORD: newsblur
restart_policy: unless-stopped
ports:
- '5432:5432'
volumes:
- /srv/newsblur/docker/volumes/postgres:/var/lib/postgresql/data