Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (45 sloc) 963 Bytes
apiVersion: 2018-06-01
location: westeuope
name: realtime-app
properties:
containers:
- name: realtime-service
properties:
image: gbaeke/realtime-go-le
environmentVariables:
- name: 'RTHOST'
value: 'HOST'
- name: 'CLOUDFLARE_EMAIL'
value: 'EMAIL'
- name: 'CLOUDFLARE_API_KEY'
value: 'APIKEY'
resources:
requests:
cpu: 0.1
memoryInGb: 0.2
ports:
- port: 80
- port: 443
- name: realtime-redis
properties:
image: library/redis
resources:
requests:
cpu: 0.2
memoryInGb: 0.3
ports:
- port: 6379
osType: Linux
ipAddress:
dnsNameLabel: realtime-go-app
type: Public
ports:
- protocol: tcp
port: '80'
- protocol: tcp
port: '443'
- protocol: tcp
port: '6379'
restartPolicy: Always
tags: null
type: Microsoft.ContainerInstance/containerGroups