style: lint code
This commit is contained in:
@@ -4,7 +4,7 @@ x-defaults: &defaults
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 100m
|
||||
max-file: "3"
|
||||
max-file: '3'
|
||||
|
||||
x-mongo: &mongo
|
||||
<<: *defaults
|
||||
@@ -30,7 +30,7 @@ x-mongo: &mongo
|
||||
retries: 10
|
||||
start_period: 30s
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
- 'host.docker.internal:host-gateway'
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
@@ -44,7 +44,7 @@ services:
|
||||
mongo1:
|
||||
<<: *mongo
|
||||
ports:
|
||||
- "${MONGO_PORT_OVERRIDE_1:-27017}:27017"
|
||||
- '${MONGO_PORT_OVERRIDE_1:-27017}:27017'
|
||||
volumes:
|
||||
- mongo1_data:/data/db
|
||||
- ./secrets/rs0.key:/data/rs0.key:ro
|
||||
@@ -52,7 +52,7 @@ services:
|
||||
mongo2:
|
||||
<<: *mongo
|
||||
ports:
|
||||
- "${MONGO_PORT_OVERRIDE_2:-27018}:27017"
|
||||
- '${MONGO_PORT_OVERRIDE_2:-27018}:27017'
|
||||
volumes:
|
||||
- mongo2_data:/data/db
|
||||
- ./secrets/rs0.key:/data/rs0.key:ro
|
||||
@@ -60,7 +60,7 @@ services:
|
||||
mongo3:
|
||||
<<: *mongo
|
||||
ports:
|
||||
- "${MONGO_PORT_OVERRIDE_3:-27019}:27017"
|
||||
- '${MONGO_PORT_OVERRIDE_3:-27019}:27017'
|
||||
volumes:
|
||||
- mongo3_data:/data/db
|
||||
- ./secrets/rs0.key:/data/rs0.key:ro
|
||||
@@ -86,7 +86,7 @@ services:
|
||||
MONGO_PORT_3: ${MONGO_PORT_OVERRIDE_3:-27019}
|
||||
MONGO_HOST: ${MONGO_HOST:-host.docker.internal}
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
- 'host.docker.internal:host-gateway'
|
||||
volumes:
|
||||
- ./secrets/rs0.key:/data/rs0.key:ro
|
||||
entrypoint:
|
||||
|
||||
Reference in New Issue
Block a user