mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 04:22:28 +01:00
3319c49dca
- Bump ruby version - Remove obsolete files, including deploy artefacts - Don't use pride when testing - Store gem and app in same repo - Switch to asdf
37 lines
851 B
YAML
37 lines
851 B
YAML
version: '3'
|
|
services:
|
|
db:
|
|
restart: always
|
|
web:
|
|
env_file: .env
|
|
restart: always
|
|
scheduler:
|
|
restart: always
|
|
nginx-proxy:
|
|
labels:
|
|
- "com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true"
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
restart: always
|
|
volumes:
|
|
- /etc/nginx/conf.d
|
|
- ./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:
|
|
image: jrcs/letsencrypt-nginx-proxy-companion
|
|
depends_on:
|
|
- nginx-proxy
|
|
restart: always
|
|
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:
|