Created
March 12, 2023 19:05
-
-
Save DanielHe4rt/4c90d3b5ea6238f3db6bd854d044e145 to your computer and use it in GitHub Desktop.
Todo list foda yaml
This file contains 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: '3.8' | |
services: | |
monstrously-todolist-scylla1: | |
image: scylladb/scylla | |
container_name: monstrously-todolist-scylla1 | |
command: --smp 1 | |
environment: | |
- "SCYLLA_JMX_ADDR=-ja 0.0.0.0" | |
- "SCYLLA_JMX_REMOTE=-r" | |
expose: | |
- "7199" | |
ports: | |
- "9042:9042" | |
networks: | |
php: | |
ipv4_address: 10.10.5.2 | |
monstrously-todolist-scylla2: | |
image: scylladb/scylla | |
container_name: monstrously-todolist-scylla2 | |
command: --smp 1 --seeds=monstrously-todolist-scylla1 | |
environment: | |
- "SCYLLA_JMX_ADDR=-ja 0.0.0.0" | |
- "SCYLLA_JMX_REMOTE=-r" | |
expose: | |
- "7199" | |
networks: | |
php: | |
ipv4_address: 10.10.5.3 | |
monstrously-todolist-scylla3: | |
image: scylladb/scylla | |
container_name: monstrously-todolist-scylla3 | |
command: --smp 1 --seeds=monstrously-todolist-scylla1 | |
environment: | |
- "SCYLLA_JMX_ADDR=-ja 0.0.0.0" | |
- "SCYLLA_JMX_REMOTE=-r" | |
expose: | |
- "7199" | |
networks: | |
php: | |
ipv4_address: 10.10.5.4 | |
volumes: | |
laravel-cassandra-storage: | |
networks: | |
php: | |
name: php | |
driver: bridge | |
ipam: | |
config: | |
- subnet: 10.10.5.0/24 | |
gateway: 10.10.5.1 | |
driver_opts: | |
com.docker.network.bridge.name: php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment