kopia lustrzana https://github.com/Haxxnet/Compose-Examples
Porównaj commity
11 Commity
37808b379a
...
df3f478be9
Autor | SHA1 | Data |
---|---|---|
LRVT | df3f478be9 | |
LRVT | a363dcb1d3 | |
LRVT | 9ea94476cc | |
LRVT | 0af9f9f7dc | |
LRVT | 0487485c06 | |
LRVT | df759de44b | |
LRVT | 97616b81b4 | |
LRVT | a82a9c38dc | |
LRVT | a4e6676ad7 | |
LRVT | 471dea862d | |
LRVT | aebb34e57e |
|
@ -1,6 +1,6 @@
|
|||
DB_CLIENT=mysql
|
||||
DB_HOST=database
|
||||
DB_USER=root
|
||||
DB_USER=ghost
|
||||
DB_ROOT_PASS=password1
|
||||
DB_USER_PASS=password2
|
||||
DB_NAME=ghost
|
||||
|
|
|
@ -1,12 +1,23 @@
|
|||
version: '3.3'
|
||||
|
||||
services:
|
||||
|
||||
blog:
|
||||
image: ghost:5
|
||||
image: ghost:5-alpine
|
||||
container_name: ghost
|
||||
restart: always
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: "/usr/bin/nc localhost 2368 || exit 1"
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 5
|
||||
expose:
|
||||
- 2368
|
||||
ports:
|
||||
- 8080:2368
|
||||
- 2368:2368
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ghost/content:/var/lib/ghost/content
|
||||
environment:
|
||||
|
@ -16,8 +27,8 @@ services:
|
|||
database__connection__user: ${DB_USER:-ghost}
|
||||
database__connection__password: ${DB_USER_PASS:-DatabasePassword1234}
|
||||
database__connection__database: ${DB_NAME:-ghost}
|
||||
# url: https://blog.example.com # change this for production
|
||||
NODE_ENV: production
|
||||
url: http://127.0.0.1:2368 # adjust to your domain and correct protocol handler + port
|
||||
#NODE_ENV: developmnent # default is production already
|
||||
#mail__transport: SMTP
|
||||
#mail__options__host: ${SMTP_HOST:-smtp.google.com}
|
||||
#mail__options__port: ${SMTP_PORT:-587}
|
||||
|
@ -38,6 +49,10 @@ services:
|
|||
image: mysql:8
|
||||
container_name: ghost_db
|
||||
restart: always
|
||||
healthcheck:
|
||||
test: ["CMD", 'mysqladmin', 'ping', '-h', 'localhost', '-u', 'root', '-p$$DB_ROOT_PASS' ]
|
||||
timeout: 20s
|
||||
retries: 10
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ghost/mysql:/var/lib/mysql
|
||||
expose:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Versioning
|
||||
IMMICH_VERSION=v1.98.2
|
||||
IMMICH_VERSION=v1.99.0
|
||||
|
||||
# Database
|
||||
DB_HOSTNAME=immich-database
|
||||
|
|
|
@ -108,6 +108,7 @@ http:
|
|||
tls:
|
||||
options:
|
||||
default:
|
||||
#sniStrict: true # prevents leaking default cert; see https://doc.traefik.io/traefik/v2.2/https/tls/#strict-sni-checking
|
||||
minVersion: VersionTLS12
|
||||
cipherSuites:
|
||||
- TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256
|
||||
|
|
Ładowanie…
Reference in New Issue