Skip to content

Instantly share code, notes, and snippets.

View ckeeney's full-sized avatar

CJ Keeney ckeeney

View GitHub Profile
services:
db:
# We use a mariadb image which supports both amd64 & arm64 architecture
image: mariadb:10.6.4-focal
# If you really want to use MySQL, uncomment the following line
#image: mysql:8.0.27
command: '--default-authentication-plugin=mysql_native_password'
volumes:
- ./volumes/database:/var/lib/mysql
restart: always
@ckeeney
ckeeney / docker-compose.yml
Last active December 1, 2016 21:17
nats clustering test
version: '2'
services:
nats1:
image: nats
command: --cluster nats://0.0.0.0:6222 --routes nats-route://nats2:6222 -DV
ports:
- 8223:8222
nats2:
image: nats