forgot to give the DB permissions to access its stuff, whoops
This commit is contained in:
parent
d72d431a1f
commit
9fb8346a03
2 changed files with 3 additions and 3 deletions
|
@ -22,8 +22,8 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
owner: root #this is the ID Pretix uses
|
||||
group: root
|
||||
owner: 1137 #this is the ID Pretix uses
|
||||
group: 1337
|
||||
mode: '0750'
|
||||
recurse: true
|
||||
with_items:
|
||||
|
|
|
@ -5,7 +5,7 @@ Requires=docker.service
|
|||
|
||||
[Service]
|
||||
ExecStartPre=-/usr/bin/docker rm --force {{ pretix_db_container_name }}
|
||||
ExecStart=/usr/bin/docker run --name {{ pretix_db_container_name }} --network pretix --label com.centurylinklabs.watchtower.enable={WATCHTOWER_ENABLED} \
|
||||
ExecStart=/usr/bin/docker run --name {{ pretix_db_container_name }} --user 1337:1337 --network pretix --label com.centurylinklabs.watchtower.enable={WATCHTOWER_ENABLED} \
|
||||
-v {{ docker_volumes_dir }}/pretix/postgres-db:/var/lib/postgresql/data --env-file {{ docker_volumes_dir }}/pretix/pretix-db.env postgres:15
|
||||
ExecStop=/usr/bin/docker stop {{ pretix_db_container_name }}
|
||||
Restart=always
|
||||
|
|
Loading…
Reference in a new issue