Skip to content

Instantly share code, notes, and snippets.

@thetekst
Last active November 8, 2018 10:42
Show Gist options
  • Save thetekst/e038b49117a30e5be203d6fe4a662380 to your computer and use it in GitHub Desktop.
Save thetekst/e038b49117a30e5be203d6fe4a662380 to your computer and use it in GitHub Desktop.
Spring boot docker-compose.yml
version: "2"
services:
redis:
image: redis:latest
ports:
- 6379:6379
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
redisCli:
image: redis:latest
links:
- redis
command: redis-cli -h redis
volumes:
- /etc/localtime:/etc/localtime:ro
oracle-12c:
image: sath89/oracle-12c
container_name: happy_newton
volumes:
- ~/docker-volumes/oracle-db:/u01/app/oracle
- /etc/localtime:/etc/localtime:ro
ports:
- 1521:1521
- 8181:8080
restart: always
rabbitmq:
image: rabbitmq:3-management
ports:
- 15672:15672
- 5672:5672
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
# для запуска redis-cli
# > docker-compose run redisCli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment