-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yml
90 lines (77 loc) · 2.84 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Name of the WebOfferte application
name: telegram-bot-amazonoffers
version: '1.0'
# Service definitions for the WebOfferte application
services:
# Service name: app
# The `app` service definition
app:
# Name of the container
container_name: TelegramBot-AmazonOffers
# Image to be used for the container
image: ACCOUNT-NAME/TelegramBot-AmazonOffers:latest
# Container restart policy
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Rome
# Volumes to be mounted to the container
volumes:
# Mounting the local WebOfferte/database directory to /TelegramBot-AmazonOffers/database inside the container
- /DATA/AppData/$AppID/database:/TelegramBot-AmazonOffers/database
# Mounting the local WebOfferte/log directory to /TelegramBot-AmazonOffers/log inside the container
- /DATA/AppData/$AppID/log:/TelegramBot-AmazonOffers/log
# Mounting the local WebOfferte/archive directory to /TelegramBot-AmazonOffers/archive inside the container
- /DATA/AppData/$AppID/archive:/TelegramBot-AmazonOffers/archive
# Ports mapping between host and container
ports:
# Mapping port 8123 of the host to port 8000 of the container
- "8223:8000"
x-casaos: # CasaOS specific configuration
volumes:
- container: /TelegramBot-AmazonOffers/database
description:
en_us: "Container Path: /TelegramBot-AmazonOffers/database"
- container: /TelegramBot-AmazonOffers/log
description:
en_us: "Container Path: /TelegramBot-AmazonOffers/log"
- container: /TelegramBot-AmazonOffers/media
description:
en_us: "Container Path: /TelegramBot-AmazonOffers/media"
- container: /TelegramBot-AmazonOffers/archive
description:
en_us: "Container Path: /TelegramBot-AmazonOffers/archive"
ports:
- container: "8000"
description:
en_us: "Container Port: 8000"
# CasaOS specific configuration
x-casaos:
# Supported CPU architectures for the application
architectures:
- amd64
- arm64
# Main service of the application
main: app
description:
# Description in English
en_us: TelegramBot-AmazonOffers is a Telegram bot that sends you the best Amazon offers.
tagline:
# Short description or tagline in English
en_us: TelegramBot-AmazonOffers
# Developer's name or identifier
developer: "Andrea Pietrobon"
# Author of this configuration
author: Andrea Pietrobon
# Icon for the application
icon: https://raw.githubusercontent.com/Piero24/Piero24/main/icon/WbOff-Logo-Tech.png
# Thumbnail image (currently empty)
thumbnail: ""
title:
# Title in English
en_us: WTelegramBot-AmazonOffers
# Application category
category: TelegramBot
# Port mapping information
port_map: "8223"