-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
66 lines (61 loc) · 1.24 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
# Usage:
# docker-compose up
version: '2.4'
services:
nginx:
image: "grocy/nginx:v2.7.1-2"
build:
args:
GROCY_VERSION: v2.7.1
context: .
dockerfile: Dockerfile-grocy-nginx
depends_on:
- grocy
read_only: true
tmpfs:
- /tmp
volumes:
- /var/log/nginx
container_name: nginx-grocy
environment:
VIRTUAL_HOST: ${GROCY_DOMAIN}
LETSENCRYPT_HOST: ${GROCY_DOMAIN}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL}
VIRTUAL_PORT: 8080
grocy:
image: "grocy/grocy:v2.7.1-2"
build:
args:
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
barcodebuddy:
image: "f0rc3/barcodebuddy-docker:latest"
expose:
- '8081'
volumes:
- bbconfig:/config
container_name: bbuddy
environment:
VIRTUAL_HOST: ${BBUDDY_DOMAIN}
LETSENCRYPT_HOST: ${BBUDDY_DOMAIN}
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL}
VIRTUAL_PORT: 80
volumes:
app-db:
bbconfig:
networks:
default:
external:
name: ${NETWORK}