tryeing to add source container
This commit is contained in:
@@ -14,6 +14,20 @@ volumes:
|
||||
|
||||
services:
|
||||
|
||||
test-source-container:
|
||||
image: ubuntu:noble
|
||||
container_name: ubuntu
|
||||
hostname: ubuntu-docker-test
|
||||
user: root:root
|
||||
logging:
|
||||
options:
|
||||
max-size: 10m
|
||||
volumes_from:
|
||||
- gluster-1:rw
|
||||
networks:
|
||||
- testing
|
||||
command: sleep infinity
|
||||
|
||||
gluster-1:
|
||||
build:
|
||||
context: .
|
||||
@@ -31,7 +45,7 @@ services:
|
||||
devices:
|
||||
- /dev/fuse
|
||||
volumes:
|
||||
- gluster-data-1:/mnt/gluster
|
||||
- gluster-data-1:/tmp/gluster
|
||||
networks:
|
||||
- testing
|
||||
command: bash /docker/glusterfs-master.sh
|
||||
@@ -56,7 +70,7 @@ services:
|
||||
devices:
|
||||
- /dev/fuse
|
||||
volumes:
|
||||
- gluster-data-2:/mnt/gluster
|
||||
- gluster-data-2:/tmp/gluster
|
||||
networks:
|
||||
- testing
|
||||
command: bash /docker/glusterfs-node.sh
|
||||
@@ -81,7 +95,7 @@ services:
|
||||
devices:
|
||||
- /dev/fuse
|
||||
volumes:
|
||||
- gluster-data-3:/mnt/gluster
|
||||
- gluster-data-3:/tmp/gluster
|
||||
networks:
|
||||
- testing
|
||||
command: bash /docker/glusterfs-node.sh
|
||||
|
||||
Reference in New Issue
Block a user