update hostname field
This commit is contained in:
parent
90d93777d8
commit
cb329d73ef
@ -4,6 +4,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
|
||||||
@ -18,6 +19,7 @@ services:
|
|||||||
|
|
||||||
app:
|
app:
|
||||||
image: nextcloud:fpm-alpine
|
image: nextcloud:fpm-alpine
|
||||||
|
hostname: app
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z
|
- nextcloud:/var/www/html:z
|
||||||
@ -36,6 +38,7 @@ services:
|
|||||||
# https://hub.docker.com/_/nginx/
|
# https://hub.docker.com/_/nginx/
|
||||||
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
|
||||||
@ -54,6 +57,8 @@ services:
|
|||||||
|
|
||||||
cron:
|
cron:
|
||||||
image: nextcloud:fpm-alpine
|
image: nextcloud:fpm-alpine
|
||||||
|
hostname: cron
|
||||||
|
restart: always
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html:z
|
- nextcloud:/var/www/html:z
|
||||||
@ -68,6 +73,7 @@ services:
|
|||||||
# https://hub.docker.com/r/nginxproxy/nginx-proxy
|
# https://hub.docker.com/r/nginxproxy/nginx-proxy
|
||||||
proxy:
|
proxy:
|
||||||
build: ./proxy
|
build: ./proxy
|
||||||
|
hostname: proxy
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8080:80
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user