postgres testing
This commit is contained in:
parent
ee3417a12f
commit
ea5b198f49
@ -13,8 +13,8 @@ services:
|
|||||||
VIRTUAL_ROOT: "/var/www/html/"
|
VIRTUAL_ROOT: "/var/www/html/"
|
||||||
LETSENCRYPT_HOST: "{{ inventory_hostname | default('ansible_undefined_fact') }}"
|
LETSENCRYPT_HOST: "{{ inventory_hostname | default('ansible_undefined_fact') }}"
|
||||||
POSTGRES_DATABASE=nextclouddb
|
POSTGRES_DATABASE=nextclouddb
|
||||||
POSTGRES_USER=nextcloud
|
POSTGRES_USER="nextcloud"
|
||||||
POSTGRES_HOST=localhost:5432
|
POSTGRES_HOST="nextcloud-db.lan:5432"
|
||||||
NEXTCLOUD_TRUSTED_DOMAINS="{{ inventory_hostname | default('ansible_undefined_fact') }}"
|
NEXTCLOUD_TRUSTED_DOMAINS="{{ inventory_hostname | default('ansible_undefined_fact') }}"
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
@ -23,6 +23,14 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ~/webroot:/var/www/html
|
- ~/webroot:/var/www/html
|
||||||
|
|
||||||
|
database:
|
||||||
|
image: postgres:latest
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
aliases:
|
||||||
|
"nextcloud-db.lan"
|
||||||
|
|
||||||
nginx-proxy:
|
nginx-proxy:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user