46 lines
833 B
YAML
46 lines
833 B
YAML
version: '2.4'
|
|
|
|
services:
|
|
|
|
nginx:
|
|
image: "grocy/nginx:${GROCY_IMAGE_TAG:-latest}"
|
|
build:
|
|
args:
|
|
GROCY_VERSION: v3.0.0
|
|
context: .
|
|
dockerfile: Dockerfile-grocy-nginx
|
|
depends_on:
|
|
- grocy
|
|
ports:
|
|
- '0.0.0.0:47628:8080'
|
|
- '0.0.0.0:47629:8443'
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp
|
|
volumes:
|
|
- /var/log/nginx
|
|
container_name: nginx
|
|
|
|
grocy:
|
|
image: "grocy/grocy:${GROCY_IMAGE_TAG:-latest}"
|
|
build:
|
|
args:
|
|
GITHUB_API_TOKEN: "${GITHUB_API_TOKEN}"
|
|
GROCY_VERSION: v3.0.0
|
|
context: .
|
|
dockerfile: Dockerfile-grocy
|
|
expose:
|
|
- '47630'
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp
|
|
volumes:
|
|
- /var/log/php7
|
|
- app-db:/var/www/data
|
|
env_file:
|
|
- grocy.env
|
|
container_name: grocy
|
|
|
|
volumes:
|
|
app-db:
|