Added: Readme
Added: Restart policy
This commit is contained in:
1 parent
518871ff16
commit
fc8a7795e6
10 files changed
+89
-4
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user