mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-22 02:52:49 +01:00
Shorten container names
This commit is contained in:
parent
dd454a43ea
commit
26f55e8a60
@ -11,6 +11,7 @@ services:
|
||||
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"
|
||||
@ -30,6 +31,7 @@ services:
|
||||
- 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
|
||||
|
@ -1,10 +1,12 @@
|
||||
version: '3'
|
||||
services:
|
||||
db:
|
||||
container_name: db
|
||||
image: postgres:11
|
||||
volumes:
|
||||
- data:/var/lib/postgresql/data
|
||||
web:
|
||||
container_name: app
|
||||
command: bundle exec unicorn -c config/unicorn.rb
|
||||
entrypoint: bin/wait-for-it.sh db:5432 -s --
|
||||
environment:
|
||||
|
Loading…
Reference in New Issue
Block a user