-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (59 loc) · 1.3 KB
/
docker-compose.yml
File metadata and controls
63 lines (59 loc) · 1.3 KB
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
name: syncengine
services:
server:
build:
context: .
dockerfile: Dockerfile
target: nginx
depends_on:
- php
ports:
- "8080:80"
networks:
- app
php:
build:
context: .
dockerfile: Dockerfile
target: fpm
args:
APP_ENV: ${APP_ENV:-prod}
environment:
APP_ENV: ${APP_ENV:-prod}
APP_DEBUG: ${APP_DEBUG:-0}
DATABASE_URL: "sqlite:////app/var/data/data.db"
RUN_AS_WWWDATA: "0"
volumes:
- secrets_data:/app/config/secrets
- modules_data:/app/modules
- blueprints_data:/app/blueprints
- db_data:/app/var/data
networks:
- app
worker:
build:
context: .
dockerfile: Dockerfile
target: fpm
args:
APP_ENV: ${APP_ENV:-prod}
environment:
APP_ENV: ${APP_ENV:-prod}
APP_DEBUG: ${APP_DEBUG:-0}
DATABASE_URL: "sqlite:////app/var/data/data.db"
RUN_AS_WWWDATA: "1"
command: ["php","bin/console","messenger:consume","--time-limit=3600","-vv"]
volumes:
- secrets_data:/app/config/secrets
- modules_data:/app/modules
- blueprints_data:/app/blueprints
- db_data:/app/var/data
networks:
- app
networks:
app: {}
volumes:
secrets_data: {}
modules_data: {}
blueprints_data: {}
db_data: {}