32 lines
831 B
YAML
32 lines
831 B
YAML
version: "3.9"
|
|
|
|
networks:
|
|
reverse-proxy:
|
|
external: true
|
|
|
|
volumes:
|
|
tg_instance:
|
|
tg_assets:
|
|
|
|
services:
|
|
tainagustului:
|
|
build: .
|
|
container_name: tainagustului
|
|
restart: unless-stopped
|
|
environment:
|
|
TZ: "Europe/Bucharest"
|
|
FLET_PORT: "8080"
|
|
VIRTUAL_HOST: "tainagustului.ro,www.tainagustului.ro"
|
|
VIRTUAL_PORT: "8080"
|
|
LETSENCRYPT_HOST: "tainagustului.ro,www.tainagustului.ro"
|
|
LETSENCRYPT_EMAIL: "macamete.robert@gmail.com"
|
|
# If your app reads DB path from env, uncomment one of these:
|
|
# DATABASE_URL: "sqlite:////app/instance/shop.db" # SQLAlchemy style
|
|
# SHOP_DB_PATH: "/app/instance/shop.db" # custom var
|
|
expose:
|
|
- "8080"
|
|
volumes:
|
|
- tg_instance:/app/instance
|
|
- tg_assets:/app/assets
|
|
networks:
|
|
- reverse-proxy |