mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-10-29 23:32:35 +01:00
Remove docker-compose files
This commit is contained in:
parent
a80818049c
commit
112e574696
@ -1,5 +1,4 @@
|
|||||||
.*
|
.*
|
||||||
docker-compose*
|
|
||||||
Dockerfile
|
Dockerfile
|
||||||
LICENSE
|
LICENSE
|
||||||
Procfile
|
Procfile
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
version: '3'
|
|
||||||
services:
|
|
||||||
web:
|
|
||||||
build: .
|
|
||||||
environment:
|
|
||||||
APP_ENV: development
|
|
||||||
VIRTUAL_HOST: localhost
|
|
||||||
ports:
|
|
||||||
- "8080:8080"
|
|
@ -1,47 +0,0 @@
|
|||||||
version: '3'
|
|
||||||
services:
|
|
||||||
db:
|
|
||||||
restart: unless-stopped
|
|
||||||
web:
|
|
||||||
env_file: .env
|
|
||||||
image: hakanensari/frankfurter
|
|
||||||
logging:
|
|
||||||
options:
|
|
||||||
max-size: "50m"
|
|
||||||
max-file: "10"
|
|
||||||
restart: unless-stopped
|
|
||||||
nginx-proxy:
|
|
||||||
container_name: nginx-proxy
|
|
||||||
image: jwilder/nginx-proxy
|
|
||||||
labels:
|
|
||||||
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true"
|
|
||||||
logging:
|
|
||||||
options:
|
|
||||||
max-size: "50m"
|
|
||||||
max-file: "10"
|
|
||||||
ports:
|
|
||||||
- "80:80"
|
|
||||||
- "443:443"
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- /etc/nginx/conf.d
|
|
||||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
|
||||||
- ./limit_req.conf:/etc/nginx/conf.d/limit_req.conf:ro
|
|
||||||
- certs:/etc/nginx/certs:ro
|
|
||||||
- html:/usr/share/nginx/html
|
|
||||||
- vhost.d:/etc/nginx/vhost.d
|
|
||||||
letsencrypt-nginx-proxy-companion:
|
|
||||||
container_name: nginx-proxy-le
|
|
||||||
image: jrcs/letsencrypt-nginx-proxy-companion
|
|
||||||
depends_on:
|
|
||||||
- nginx-proxy
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
||||||
- certs:/etc/nginx/certs:rw
|
|
||||||
- html:/usr/share/nginx/html
|
|
||||||
- vhost.d:/etc/nginx/vhost.d
|
|
||||||
volumes:
|
|
||||||
certs:
|
|
||||||
html:
|
|
||||||
vhost.d:
|
|
@ -1,19 +0,0 @@
|
|||||||
version: '3'
|
|
||||||
services:
|
|
||||||
db:
|
|
||||||
container_name: db
|
|
||||||
image: postgres:12
|
|
||||||
environment:
|
|
||||||
POSTGRES_HOST_AUTH_METHOD: trust
|
|
||||||
web:
|
|
||||||
container_name: web
|
|
||||||
command: bundle exec unicorn -c config/unicorn.rb
|
|
||||||
entrypoint: bin/wait-for-it.sh db:5432 -s --
|
|
||||||
environment:
|
|
||||||
DATABASE_URL: postgres://postgres@db/postgres
|
|
||||||
expose:
|
|
||||||
- '8080'
|
|
||||||
links:
|
|
||||||
- db
|
|
||||||
volumes:
|
|
||||||
data:
|
|
@ -1,3 +0,0 @@
|
|||||||
limit_req_zone $binary_remote_addr zone=api:10m rate=50r/s;
|
|
||||||
limit_req_status 429;
|
|
||||||
limit_req zone=api burst=500 nodelay;
|
|
Loading…
Reference in New Issue
Block a user