update "local" docker settings, use js/css from cdn
(remove unnecessary "linode" docker setup) ignore fonts
This commit is contained in:
28
local.yml
28
local.yml
@@ -3,6 +3,10 @@ version: '3'
|
||||
volumes:
|
||||
benchcoach_local_postgres_data: {}
|
||||
benchcoach_local_postgres_data_backups: {}
|
||||
certs: {}
|
||||
vhost: {}
|
||||
html: {}
|
||||
acme: {}
|
||||
|
||||
services:
|
||||
django:
|
||||
@@ -11,7 +15,7 @@ services:
|
||||
dockerfile: ./compose/local/django/Dockerfile
|
||||
image: benchcoach_local_django
|
||||
container_name: benchcoach_local_django
|
||||
platform: linux/amd64
|
||||
platform: linux/x86_64
|
||||
depends_on:
|
||||
- postgres
|
||||
volumes:
|
||||
@@ -27,7 +31,7 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./compose/production/postgres/Dockerfile
|
||||
image: benchcoach_production_postgres
|
||||
image: benchcoach_local_postgres
|
||||
container_name: benchcoach_local_postgres
|
||||
volumes:
|
||||
- benchcoach_local_postgres_data:/var/lib/postgresql/data:Z
|
||||
@@ -38,7 +42,7 @@ services:
|
||||
docs:
|
||||
image: benchcoach_local_docs
|
||||
container_name: benchcoach_local_docs
|
||||
platform: linux/amd64
|
||||
platform: linux/x86_64
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./compose/local/docs/Dockerfile
|
||||
@@ -60,7 +64,23 @@ services:
|
||||
- "443:443"
|
||||
volumes:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
- ./certs:/etc/nginx/certs
|
||||
- certs:/etc/nginx/certs
|
||||
- vhost:/etc/nginx/vhost.d
|
||||
- html:/usr/share/nginx/html
|
||||
env_file:
|
||||
- ./.envs/.local/.nginx-proxy
|
||||
restart: always
|
||||
depends_on:
|
||||
- django
|
||||
|
||||
nginx-proxy-acme:
|
||||
image: nginxproxy/acme-companion
|
||||
container_name: nginx-proxy-acme
|
||||
volumes_from:
|
||||
- nginx-proxy
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- certs:/etc/nginx/certs:rw
|
||||
- acme:/etc/acme.sh
|
||||
env_file:
|
||||
- ./.envs/.local/.nginx-proxy-acme
|
||||
|
||||
Reference in New Issue
Block a user