Skip to content

Instantly share code, notes, and snippets.

var test = "hello";
@francoisruty
francoisruty / docker-compose.yml
Created June 25, 2019 17:46
fruty_nginx-oauth
version: '2'
services:
load-balancer:
image: nginx
ports: ["80:80"]
volumes: ["./example.conf:/etc/nginx/conf.d/example.conf:ro"]
web-server:
version: '2'
services:
registry:
image: registry:2
ports:
- "127.0.0.1:5500:5000"
environment:
REGISTRY_STORAGE_DELETE_ENABLED: 'true'
@francoisruty
francoisruty / docker-compose.yml
Created June 29, 2019 14:36
fruty_distributed-docker-registry
registry:
image: registry:2
ports:
- 127.0.0.1:5500:5000
environment:
REGISTRY_STORAGE_DELETE_ENABLED: 'true'
REGISTRY_STORAGE_S3_ACCESSKEY: ${AWS_ACCESS_KEY}
REGISTRY_STORAGE_S3_SECRETKEY: ${AWS_SECRET_KEY}
volumes:
["./config.yml:/etc/docker/registry/config.yml"]
@francoisruty
francoisruty / docker-compose.yml
Created July 2, 2019 13:51
fruty_strategy-consulting-data-science
version: '2'
services:
worker:
build: .
environment:
PG_DATABASE: ${PG_DATABASE}
PG_USER: ${PG_USER}
PG_PASSWORD: ${PG_PASSWORD}
volumes:
@francoisruty
francoisruty / docker-compose.yml
Created July 29, 2019 17:47
fruty_trading-automation
version: '2'
services:
#RabbitMQ broker, for Celery
rabbit:
hostname: rabbit
image: rabbitmq:3.7.3
environment:
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
@francoisruty
francoisruty / docker-compose.yml
Created July 31, 2019 13:46
fruty_reactjs-nextjs
version: '2'
services:
nginx-front:
image: nginx:stable
ports:
- "3000:80"
volumes:
- ./nginx-front.conf:/etc/nginx/nginx.conf
links:
@francoisruty
francoisruty / docker-compose.yml
Created January 15, 2020 16:20
fruty_react-admin
version: '2'
services:
nginx-front:
image: nginx:stable
ports:
- "3000:80"
volumes:
- ./nginx-front.conf:/etc/nginx/nginx.conf
links:
@francoisruty
francoisruty / script.sh
Created June 29, 2019 14:41
Deep learning on Shadow PC
# Run those commands:
conda update conda
conda update anaconda
conda update python
conda update –all
conda create –name tf-gpu
cmd
activate tf-gpu
conda install -c aaronzs tensorflow-gpu #(note: this channel proposes a recent Tensorflow binary for windows)
conda install -c anaconda cudatoolkit
@francoisruty
francoisruty / docker-compose.yml
Created February 14, 2021 17:02
fruty_docker-outbound-restriction
version: '3'
services:
nginx-proxy-google:
networks:
- no-internet
- internet
image: nginx:stable
volumes:
- ./nginx_proxy_google.conf:/etc/nginx/nginx.conf