Skip to content

Instantly share code, notes, and snippets.

@blar
Created August 9, 2022 22:35
Show Gist options
  • Save blar/55ceff1e6989b687c05eb1f873280f9d to your computer and use it in GitHub Desktop.
Save blar/55ceff1e6989b687c05eb1f873280f9d to your computer and use it in GitHub Desktop.
rancher server 1.7.5
# Services to upgrade after start:
#
# healthcheck:
# healthcheck: foobox/rancher-healthcheck:0.4.0
# ipsec:
# cni-driver: foobox/rancher-net:0.14.0
# network-services:
# metadata: foobox/rancher-metadata:0.11.0
# dns: foobox/rancher-dns:0.18.0
# scheduler:
# scheduler: foobox/rancher-scheduler:0.9.0
version: "2"
services:
rancher:
image: foobox/rancher-server:1.7.5
ports:
- "127.0.0.1:8080:8080"
environment:
DEFAULT_CATTLE_API_UI_INDEX: local
CATTLE_API_UI_URL: //releases.rancher.com/api-ui/1.1.9
CATTLE_USE_LOCAL_ARTIFACTS: "true"
CATTLE_DB_CATTLE_MYSQL_HOST: mysql
restart: always
mysql:
image: mysql:5.7
command: --innodb-buffer-pool-size=1G --innodb-file-per-table=on
environment:
MYSQL_DATABASE: rancher
MYSQL_USER: cattle
MYSQL_PASSWORD: cattle
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PASSWORD
volumes:
- database:/var/lib/mysql
ports:
- 127.0.0.1:3306:3306
restart: always
volumes:
database:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment