-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlagoon-docker-compose.yml
More file actions
75 lines (72 loc) · 1.92 KB
/
lagoon-docker-compose.yml
File metadata and controls
75 lines (72 loc) · 1.92 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
64
65
66
67
68
69
70
71
72
73
74
75
services:
cli:
build:
context: .
dockerfile: lagoon/cli.dockerfile
image: sailonlagoon
labels:
lagoon.type: cli-persistent
lagoon.persistent.name: nginx
lagoon.persistent: /app/storage
depends_on:
- redis
nginx:
build:
context: .
dockerfile: lagoon/nginx.dockerfile
args:
CLI_IMAGE: sailonlagoon
labels:
lagoon.type: nginx-php-persistent
lagoon.name: nginx
lagoon.persistent: /app/storage
volumes:
- './:/app:delegated'
depends_on:
- cli
- redis
php:
build:
context: .
dockerfile: lagoon/php.dockerfile
args:
CLI_IMAGE: sailonlagoon
labels:
lagoon.type: nginx-php-persistent
lagoon.name: nginx
lagoon.persistent: /app/storage/
volumes:
- './:/app:delegated'
# SERVICE: worker
worker:
build:
context: .
dockerfile: lagoon/worker.dockerfile
args:
CLI_IMAGE: sailonlagoon
labels:
lagoon.type: worker-persistent
lagoon.name: worker
lagoon.persistent.name: nginx
lagoon.persistent: /app/storage/
mariadb:
image: uselagoon/mysql-8.0
labels:
lagoon.type: mariadb
environment:
SERVICE_NAME: worker
redis:
build:
context: .
dockerfile: lagoon/redis.dockerfile
image: uselagoon/redis-7-persistent
labels:
lagoon.type: redis-persistent
mailpit:
image: axllent/mailpit:latest
labels:
lagoon.type: basic
lagoon.service.usecomposeports: true
ports:
- '8025'
- '1025'