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
#!/bin/sh /etc/rc.common | |
START=99 | |
STOP=10 | |
SERVICE_DAEMONIZE=1 | |
SERVICE_WRITE_PID=1 | |
PIDFILE=/var/run/supervisord.pid | |
LOCKFILE=/var/run/supervisord_up.lock | |
LOCKFILE_DOWN=/var/run/supervisord_down.lock | |
SUPERVISORCTL_BIN=$(which supervisorctl) |
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
import { IntrospectAndCompose, RemoteGraphQLDataSource, ServiceDefinition } from '@apollo/gateway'; | |
import { composeServices } from '@apollo/composition'; | |
import { Service, loadServicesFromRemoteEndpoint } from '@apollo/gateway/dist/supergraphManagers/IntrospectAndCompose/loadServicesFromRemoteEndpoint'; | |
import { Logger } from '@nestjs/common'; | |
import fetch from 'node-fetch'; | |
// https://github.com/apollographql/federation/issues/355 | |
// @ts-ignore | |
export class CustomIntrospectAndCompose extends IntrospectAndCompose { |
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.7" | |
x-default-opts: &default-opts | |
logging: | |
options: | |
max-size: "1m" | |
secrets: | |
pub_key: | |
external: true |
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.7" | |
volumes: | |
keys-server: | |
keys-client: | |
services: | |
ssh-server: | |
image: linuxserver/openssh-server | |
container_name: server |
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.7" | |
volumes: | |
keys-server: | |
keys-client: | |
# sshfs-volume-mount-example: | |
# driver: vieux/sshfs:latest | |
# driver_opts: | |
# reconnect: "" | |
# ServerAliveInterval: 15 |