hostnames added
This commit is contained in:
parent
b1324501b2
commit
55648892eb
@ -16,6 +16,7 @@ services:
|
||||
POSTGRES_USER: "nextcloud"
|
||||
POSTGRES_HOST: "database"
|
||||
NEXTCLOUD_TRUSTED_DOMAINS: "{{ inventory_hostname | default('ansible_undefined_fact') }}"
|
||||
hostname: webserver
|
||||
networks:
|
||||
default:
|
||||
aliases:
|
||||
@ -28,6 +29,7 @@ services:
|
||||
restart: always
|
||||
env_file:
|
||||
- .db.env
|
||||
hostname: database
|
||||
networks:
|
||||
default:
|
||||
aliases:
|
||||
@ -39,6 +41,7 @@ services:
|
||||
- 8080:8080
|
||||
- 4443:4443
|
||||
image: nginxproxy/nginx-proxy:1.9-alpine
|
||||
hostname: nginxproxy
|
||||
environment:
|
||||
HTTP_PORT: 8080
|
||||
HTTPS_PORT: 4443
|
||||
|
||||
Loading…
Reference in New Issue
Block a user