Browse Source

fixed postgres data volume and made ssl keys readable for all users

toastie89 3 months ago
parent
commit
30e95994dd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docker-compose.yml

+ 2 - 1
docker-compose.yml

@@ -12,7 +12,7 @@ services:
       POSTGRES_USER: guacamole
       POSTGRES_PASSWORD: guacamole 
     volumes:
-      - ./data/postgres:/var/lib/postgresql
+      - ./data/postgres:/var/lib/postgresql/data
       # *.sql in here will run when no db exists yet
       - ./data/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
     networks:
@@ -51,6 +51,7 @@ services:
       POSTGRES_PASSWORD: guacamole
       VIRTUAL_HOST: ${HOSTNAME} 
       LETSENCRYPT_HOST: ${HOSTNAME} 
+      ACME_POST_HOOK: chmod a+r /etc/nginx/certs/*.*
 #      LETSENCRYPT_EMAIL: webmaster@${HOSTNAME}
       REMOTE_IP_VALVE_ENABLED: true
     networks: