changed docker restart policy
This commit is contained in:
parent
9c58d92aee
commit
912be0bc38
@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
### Changed
|
||||
|
||||
- docker restart policy (https://github.com/ohmyform/ohmyform/issues/164)
|
||||
|
||||
### Fixed
|
||||
|
||||
### Security
|
||||
|
@ -10,6 +10,7 @@ services:
|
||||
POSTGRES_USER: root
|
||||
POSTGRES_PASSWORD: root
|
||||
POSTGRES_DB: ohmyform
|
||||
restart: unless-stopped
|
||||
ui:
|
||||
image: ohmyform/ui
|
||||
environment:
|
||||
@ -18,6 +19,7 @@ services:
|
||||
PORT: 5000
|
||||
ports:
|
||||
- "8080:5000"
|
||||
restart: unless-stopped
|
||||
api:
|
||||
image: ohmyform/api
|
||||
environment:
|
||||
@ -38,3 +40,4 @@ services:
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
restart: unless-stopped
|
||||
|
@ -15,3 +15,4 @@ services:
|
||||
LOGIN_NOTE: "Either login with admin:admin or create your own account to test OhMyForm"
|
||||
ports:
|
||||
- "8080:3000"
|
||||
restart: unless-stopped
|
||||
|
@ -8,6 +8,7 @@ services:
|
||||
POSTGRES_USER: root
|
||||
POSTGRES_PASSWORD: root
|
||||
POSTGRES_DB: ohmyform
|
||||
restart: unless-stopped
|
||||
nginx:
|
||||
image: nginx:alpine
|
||||
volumes:
|
||||
@ -17,11 +18,13 @@ services:
|
||||
depends_on:
|
||||
- ui
|
||||
- api
|
||||
restart: unless-stopped
|
||||
ui:
|
||||
image: ohmyform/ui
|
||||
environment:
|
||||
SERVER_ENDPOINT: http://api:5000/graphql
|
||||
PORT: 5000
|
||||
restart: unless-stopped
|
||||
api:
|
||||
image: ohmyform/api
|
||||
environment:
|
||||
@ -38,3 +41,4 @@ services:
|
||||
- db
|
||||
depends_on:
|
||||
- db
|
||||
restart: unless-stopped
|
||||
|
Loading…
Reference in New Issue
Block a user