docker-compopse.yml
· 707 B · YAML
原始檔案
services:
ciao:
image: brotandgames/ciao
container_name: ciao
ports:
- '8090:3000'
environment:
- TIME_ZONE=Rome
- BASIC_AUTH_USERNAME=myusername
- BASIC_AUTH_PASSWORD=mypassword
# - SECRET_KEY_BASE=sensitive_secret_key_base #generata automaticamente se omessa
# - SMTP_ADDRESS=smtp.yourhost.com
# - SMTP_EMAIL_FROM=ciao@yourhost.com
# - SMTP_EMAIL_TO=you@yourhost.com
# - SMTP_PORT=587
# - SMTP_AUTHENTICATION=plain
# - SMTP_DOMAIN=smtp.yourhost.com
# - SMTP_ENABLE_STARTTLS_AUTO=true
# - SMTP_USERNAME=ciao
# - SMTP_PASSWORD=sensitive_password
volumes:
- ./data:/app/db/sqlite/
restart: unless-stopped
| 1 | services: |
| 2 | ciao: |
| 3 | image: brotandgames/ciao |
| 4 | container_name: ciao |
| 5 | ports: |
| 6 | - '8090:3000' |
| 7 | environment: |
| 8 | - TIME_ZONE=Rome |
| 9 | - BASIC_AUTH_USERNAME=myusername |
| 10 | - BASIC_AUTH_PASSWORD=mypassword |
| 11 | # - SECRET_KEY_BASE=sensitive_secret_key_base #generata automaticamente se omessa |
| 12 | # - SMTP_ADDRESS=smtp.yourhost.com |
| 13 | # - SMTP_EMAIL_FROM=ciao@yourhost.com |
| 14 | # - SMTP_EMAIL_TO=you@yourhost.com |
| 15 | # - SMTP_PORT=587 |
| 16 | # - SMTP_AUTHENTICATION=plain |
| 17 | # - SMTP_DOMAIN=smtp.yourhost.com |
| 18 | # - SMTP_ENABLE_STARTTLS_AUTO=true |
| 19 | # - SMTP_USERNAME=ciao |
| 20 | # - SMTP_PASSWORD=sensitive_password |
| 21 | volumes: |
| 22 | - ./data:/app/db/sqlite/ |
| 23 | restart: unless-stopped |
| 24 |