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: '3' | |
| services: | |
| db: | |
| image: postgres | |
| container_name: ptkr_postgres | |
| restart: unless-stopped | |
| environment: | |
| POSTGRES_DB: "${POSTGRES_DB}" | |
| POSTGRES_USER: "${POSTGRES_USER}" |
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
| FROM phusion/passenger-full:0.9.29 | |
| ENV HOME /root | |
| CMD ["/sbin/my_init"] | |
| RUN rm -f /etc/service/nginx/down | |
| RUN rm /etc/nginx/sites-enabled/default | |
| ADD webapp.conf /etc/nginx/sites-enabled/webapp.conf | |
| RUN mkdir /home/app/webapp | |
| COPY --chown=app:app . /home/app/webapp | |
| ADD postgres-env.conf /etc/nginx/main.d/postgres-env.conf |
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
| FROM phusion/passenger-full | |
| RUN rm /bin/sh && ln -s /bin/bash /bin/sh | |
| RUN apt-get update && apt-get install -y mc | |
| ENV HOME /root | |
| CMD ["/sbin/my_init"] | |
| # install the latest NodeJS | |
| ENV NVM_DIR /usr/local/nvm |
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: "3" | |
| services: | |
| zeo: | |
| image: plone | |
| container_name: "plone5.0.8_zeoserver" | |
| command: ["zeoserver"] | |
| restart: always | |
| volumes: | |
| - ./data/zeoserver/filestorage:/data/filestorage | |
| - ./data/zeoserver/blobstorage:/data/blobstorage |
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
| <template> | |
| <q-select | |
| v-model="select" | |
| radio | |
| color="faded" | |
| stack-label="Language:" | |
| :options="languages" | |
| /> | |
| </template> |
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
| import { Module } from '@cerebral/fluent'; | |
| import { HttpProviderError } from '@cerebral/http'; | |
| import { Signals, State } from './types'; | |
| import * as moduleSequences from './sequences'; | |
| import router from './router'; | |
| import read from './modules/read'; | |
| import { signals as readSignals, state as readState } from './modules/read'; | |
| const state: State = { | |
| page: 'home', |
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
| import { Controller, Module } from '@cerebral/mobx-state-tree' | |
| import { inject, observer, Provider } from 'mobx-react' | |
| import { types } from 'mobx-state-tree' | |
| import * as React from 'react' | |
| import { render } from 'react-dom' | |
| // src/store/app/actions.ts | |
| const actions = { | |
| changeName ({ props, state }) { |
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
| import * as classNames from 'classnames' | |
| import { inject, observer } from 'mobx-react' | |
| import * as React from 'react' | |
| type Props = { | |
| name: string, | |
| title: string, | |
| } | |
| interface InjectedProps extends Props { |
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
| import { Compute } from 'cerebral' | |
| import { props, state } from 'cerebral/tags' | |
| import { uniq } from 'lodash' | |
| import Router from '@cerebral/router' | |
| const router = Router({ | |
| routes: [ | |
| { path: '/', signal: 'app.homeRouted' }, | |
| { |