Working curl response
This commit is contained in:
parent
0155c77319
commit
579302d310
@ -2,6 +2,7 @@ services:
|
|||||||
db:
|
db:
|
||||||
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
|
# Note: Check the recommend version here: https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server
|
||||||
image: postgres:alpine
|
image: postgres:alpine
|
||||||
|
hostname: db
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- db:/var/lib/postgresql/data:Z
|
- db:/var/lib/postgresql/data:Z
|
||||||
@ -25,7 +26,7 @@ services:
|
|||||||
- POSTGRES_DATABASE=nextcloud
|
- POSTGRES_DATABASE=nextcloud
|
||||||
- POSTGRES_HOST=db:5432
|
- POSTGRES_HOST=db:5432
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
- NEXTCLOUD_TRUSTED_DOMAINS={{ inventory_hostname | default('ansible_undefined_host') }}
|
- NEXTCLOUD_TRUSTED_DOMAINS={{ inventory_hostname | default('ansible_undefined_variable')}}
|
||||||
env_file:
|
env_file:
|
||||||
- .db.env
|
- .db.env
|
||||||
networks:
|
networks:
|
||||||
@ -39,6 +40,7 @@ services:
|
|||||||
|
|
||||||
web:
|
web:
|
||||||
image: nginx:alpine-slim
|
image: nginx:alpine-slim
|
||||||
|
hostname: web
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
|
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
|
||||||
@ -46,8 +48,8 @@ services:
|
|||||||
# NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing)
|
# NOTE: The `volumes` included below should match those of the `app` container (unless you know what you're doing)
|
||||||
- /home/{{ user.name }}/webroot:/var/www/html:z,ro
|
- /home/{{ user.name }}/webroot:/var/www/html:z,ro
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST={{ inventory_hostname | default('ansible_undefined_host') }}
|
- VIRTUAL_HOST={{ inventory_hostname | default('ansible_undefined_variable')}}
|
||||||
- LETSENCRYPT_HOST={{ inventory_hostname | default('ansible_undefined_host') }}
|
- LETSENCRYPT_HOST={{ inventory_hostname | default('ansible_undefined_variable')}}
|
||||||
- LETSENCRYPT_EMAIL="admin@libre.audio"
|
- LETSENCRYPT_EMAIL="admin@libre.audio"
|
||||||
depends_on:
|
depends_on:
|
||||||
- app
|
- app
|
||||||
@ -57,6 +59,7 @@ services:
|
|||||||
|
|
||||||
cron:
|
cron:
|
||||||
image: nextcloud:fpm-alpine
|
image: nextcloud:fpm-alpine
|
||||||
|
hostname: cron
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- /home/{{ user.name }}/webroot:/var/www/html:z
|
- /home/{{ user.name }}/webroot:/var/www/html:z
|
||||||
@ -69,6 +72,7 @@ services:
|
|||||||
# Warning: Do not use :latest tags of nginx-proxy unless absolutely sure about the consequences.
|
# Warning: Do not use :latest tags of nginx-proxy unless absolutely sure about the consequences.
|
||||||
proxy:
|
proxy:
|
||||||
image: nginxproxy/nginx-proxy:1.7-alpine
|
image: nginxproxy/nginx-proxy:1.7-alpine
|
||||||
|
hostname: proxy
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user