15 lines
273 B
YAML
15 lines
273 B
YAML
|
# Ansible managed
|
||
|
---
|
||
|
version: "2"
|
||
|
services:
|
||
|
rancher:
|
||
|
image: rancher/rancher
|
||
|
container_name: rancher
|
||
|
#network_mode: bridge
|
||
|
ports:
|
||
|
- 80:80
|
||
|
- 443:443
|
||
|
volumes:
|
||
|
- "{{ appdata_path }}/rancher:/var/lib/rancher"
|
||
|
restart: unless-stopped
|