forked from grocy/grocy-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (42 loc) · 896 Bytes
/
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
version: '2.4'
services:
frontend:
image: "grocy/frontend:v3.3.1"
build:
args:
GROCY_VERSION: v3.3.1
PLATFORM: linux/amd64
context: .
dockerfile: Containerfile-frontend
depends_on:
- backend
ports:
- '127.0.0.1:80:8080'
- '127.0.0.1:443:8443'
read_only: true
tmpfs:
- /tmp
volumes:
- /var/log/nginx
backend:
image: "grocy/backend:v3.3.1"
build:
args:
GROCY_VERSION: v3.3.1
PLATFORM: linux/amd64
COMPOSER_VERSION: "2.1.5"
COMPOSER_CHECKSUM: "be95557cc36eeb82da0f4340a469bad56b57f742d2891892dcb2f8b0179790ec"
context: .
dockerfile: Containerfile-backend
expose:
- '9000'
read_only: true
tmpfs:
- /tmp
volumes:
- /var/log/php8
- app-db:/var/www/data
env_file:
- grocy.env
volumes:
app-db: