docker-compose.yml
471 Bytes
version: '2'
services:
app:
image: hub.docker.planejamento.gov.br/tomcat:8.5
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
io.rancher.scheduler.affinity:host_label: aplicacao=true
banco:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: root
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
io.rancher.scheduler.affinity:host_label: banco=true