57 lines
1022 B
YAML
57 lines
1022 B
YAML
version: '2'
|
|
|
|
services:
|
|
|
|
nginx:
|
|
image: "grocy/nginx:v2.7.1-3"
|
|
build:
|
|
args:
|
|
GROCY_VERSION: v2.7.1
|
|
context: .
|
|
dockerfile: Dockerfile-grocy-nginx
|
|
depends_on:
|
|
- grocy
|
|
environment:
|
|
- VIRTUAL_HOST=grocy.franv.site
|
|
- LETSENCRYPT_HOST=grocy.franv.site
|
|
- LETSENCRYPT_EMAIL=ouch@thetrauma.org
|
|
- VIRTUAL_PORT=8080
|
|
|
|
# ports:
|
|
# - '82:8080'
|
|
# - '445:8443'
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp
|
|
volumes:
|
|
- /var/log/nginx
|
|
container_name: nginx
|
|
|
|
grocy:
|
|
image: "grocy/grocy:v2.7.1-3"
|
|
build:
|
|
args:
|
|
GITHUB_API_TOKEN: "${GITHUB_API_TOKEN}"
|
|
GROCY_VERSION: v2.7.1
|
|
context: .
|
|
dockerfile: Dockerfile-grocy
|
|
expose:
|
|
- '9000'
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp
|
|
volumes:
|
|
- /var/log/php7
|
|
- app-db:/var/www/data
|
|
env_file:
|
|
- grocy.env
|
|
container_name: grocy
|
|
|
|
volumes:
|
|
app-db:
|
|
|
|
networks:
|
|
default:
|
|
external:
|
|
name: franvproxy_proxy-tier
|