Added: Readme
Added: Restart policy
This commit is contained in:
@ -3,6 +3,9 @@ server {
|
||||
listen 80;
|
||||
server_name {{ http_host }};
|
||||
|
||||
# set max upload size
|
||||
client_max_body_size 10G;
|
||||
|
||||
location / {
|
||||
|
||||
proxy_set_header Host $host:$server_port;
|
||||
|
||||
@ -31,15 +31,16 @@
|
||||
name: "{{ container_name }}"
|
||||
image: "{{ container_image }}"
|
||||
state: started
|
||||
restart_policy: "unless-stopped"
|
||||
env:
|
||||
POSTGRES_DB: "{{ db_name }}"
|
||||
POSTGRES_USER: "{{ db_user }}"
|
||||
POSTGRES_PASSWORD: "{{ db_pass }}"
|
||||
POSTGRES_HOST: "{{ db_host }}"
|
||||
REDIS_HOST: "redis"
|
||||
# REDIS_HOST: "redis"
|
||||
links:
|
||||
- "postgres:db"
|
||||
- "redis:redis"
|
||||
# - "redis:redis"
|
||||
published_ports:
|
||||
- "9000:9000"
|
||||
volumes:
|
||||
@ -50,6 +51,7 @@
|
||||
name: cloud-web
|
||||
image: nextcloud-web
|
||||
state: started
|
||||
restart_policy: "unless-stopped"
|
||||
links:
|
||||
- "cloud:app"
|
||||
published_ports:
|
||||
|
||||
@ -3,7 +3,7 @@ http_host: "cloud.hopsngrains.com"
|
||||
http_conf: "cloud.hopsngrains.com.conf"
|
||||
|
||||
container_name: cloud
|
||||
container_image: nextcloud:fpm-alpine
|
||||
container_image: nextcloud:fpm
|
||||
|
||||
db_name: "nextcloud"
|
||||
db_user: "postgres"
|
||||
|
||||
Reference in New Issue
Block a user