-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
83 lines (73 loc) · 1.73 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: "3.7"
volumes:
assetic:
driver: local
postgres:
driver: local
services:
litus:
image: litusproject/litus:latest
container_name: litus-litus-1
build:
context: .
depends_on:
- php-fpm
ports:
- 127.0.0.1:8080:8080
volumes:
- assetic:/app/public/_assetic
restart: unless-stopped
pgweb:
image: sosedoff/pgweb:latest
container_name: litus-pgweb-1
depends_on:
- postgres
environment:
- DATABASE_URL=postgres://litus:huQeyU8te3aXusaz@postgres:5432/litus?sslmode=disable
ports:
- 127.0.0.1:8081:8081
restart: unless-stopped
php-cli:
image: litusproject/litus:php-cli-latest
build:
context: .
target: php-cli
depends_on:
- postgres
- redis
environment:
LITUS_DATABASE_HOST: postgres
LITUS_DATABASE_USER: litus
LITUS_DATABASE_PASSWORD: huQeyU8te3aXusaz
LITUS_DATABASE_DBNAME: litus
LITUS_REDIS_HOST: redis
php-fpm:
image: litusproject/litus:php-fpm-latest
container_name: litus-php-fpm-1
build:
context: .
target: php-fpm
depends_on:
- postgres
- redis
environment:
LITUS_DATABASE_HOST: postgres
LITUS_DATABASE_USER: litus
LITUS_DATABASE_PASSWORD: huQeyU8te3aXusaz
LITUS_DATABASE_DBNAME: litus
LITUS_REDIS_HOST: redis
volumes:
- assetic:/app/public/_assetic
restart: unless-stopped
postgres:
image: postgres:latest
container_name: litus-postgres-1
environment:
POSTGRES_USER: litus
POSTGRES_PASSWORD: huQeyU8te3aXusaz
POSTGRES_DB: litus
restart: unless-stopped
redis:
image: redis:latest
container_name: litus-redis-1
restart: unless-stopped