This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |