Browse Source

port bindings and shit

master
Sean Johnson 5 months ago
parent
commit
d2cbe2dfbb
  1. 4
      app/oauth2_proxy/defaults.yaml
  2. 2
      app/oauth2_proxy/service.sls

4
app/oauth2_proxy/defaults.yaml

@ -3,6 +3,10 @@ @@ -3,6 +3,10 @@
container:
binds: []
env: {}
publish:
http:
host: 127.0.0.1
port: 4180
log_driver: json-file
log_options:
max-file: 3

2
app/oauth2_proxy/service.sls

@ -19,6 +19,8 @@ oauth2-proxy container: @@ -19,6 +19,8 @@ oauth2-proxy container:
- privileged: false
- shm_size: {{ container.shm_size }}
- restart_policy: "{{ container.restart }}"
- port_bindings:
- {{ container.publish.http.host }}:{{ container.publish.http.port }}:4180
- log_driver: {{ container.log_driver|yaml_squote }}
{%- if container.log_options %}
- log_opt:

Loading…
Cancel
Save