Add grocy and remove unused services
This commit is contained in:
34
grocy/docker-compose.yml
Normal file
34
grocy/docker-compose.yml
Normal file
@ -0,0 +1,34 @@
|
||||
version: '3.5'
|
||||
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: traefik_default
|
||||
|
||||
services:
|
||||
grocy-frontend:
|
||||
image: lscr.io/linuxserver/grocy
|
||||
container_name: grocy-app
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- ${GROCY_ROOT}/data:/config
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
env_file: live.env
|
||||
labels:
|
||||
# Watchtower
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
# Routes
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.grocy.entrypoints=websecure"
|
||||
- "traefik.http.routers.grocy.rule=Host(`grocy.${DOMAIN}`)"
|
||||
- "traefik.http.routers.grocy.tls=true"
|
||||
- "traefik.http.routers.grocy.tls.certresolver=myresolver"
|
||||
networks:
|
||||
- default
|
||||
ports:
|
||||
- 9283:80
|
||||
|
50
grocy/live.env.tpl
Normal file
50
grocy/live.env.tpl
Normal file
@ -0,0 +1,50 @@
|
||||
# Grocy Environment Variables
|
||||
|
||||
# These environment variables affect PHP and the grocy application
|
||||
# For a full list of grocy settings, see config-dist.php in the main grocy repo:
|
||||
#
|
||||
# https://github.com/grocy/grocy/blob/master/config-dist.php
|
||||
#
|
||||
# Grocy application settings must be prefixed with 'GROCY_'.
|
||||
#
|
||||
# For example, if we'd like to configure grocy to use Euros (EUR):
|
||||
#
|
||||
# Setting('CURRENCY', 'USD');
|
||||
#
|
||||
# Then we would set GROCY_CURRENCY=EUR
|
||||
|
||||
|
||||
## User-supplied Variables
|
||||
|
||||
# These are environment variables that may be supplied by the user
|
||||
# No values are supplied for these as part of this distribution
|
||||
|
||||
# When you're ready to deploy grocy in production, set GROCY_MODE=production
|
||||
# to enable user authentication
|
||||
GROCY_MODE=production
|
||||
|
||||
|
||||
## Distribution-supplied Variables
|
||||
|
||||
# These are 'sensible defaults' provided as part of the grocy-docker
|
||||
# distribution.
|
||||
|
||||
# GROCY_CULTURE configures localization of the grocy application
|
||||
# Supported locales: https://github.com/grocy/grocy/tree/master/localization
|
||||
GROCY_CULTURE=de
|
||||
GROCY_CURRENCY=EUR
|
||||
GROCY_DEFAULT_LOCALE=de
|
||||
|
||||
# Grocy Mode
|
||||
GROCY_MODE=production
|
||||
|
||||
|
||||
# PHP Environment variables
|
||||
MAX_UPLOAD=50M
|
||||
PHP_MAX_FILE_UPLOAD=200
|
||||
PHP_MAX_POST=100M
|
||||
PHP_MEMORY_LIMIT=512M
|
||||
|
||||
#Custom Settings
|
||||
GROCY_ROOT=/home/compute/services/grocy
|
||||
DOMAIN=domain.com
|
Reference in New Issue
Block a user