-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathdocker-compose.override.yml
53 lines (49 loc) · 1.11 KB
/
docker-compose.override.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
version: '3.7'
services:
# App
app:
build:
target: base
volumes:
- ./:/srv/http/www/invoiceneko
- /srv/http/www/invoiceneko/vendor
- ./docker/nginx/conf.d/:/etc/nginx/http.d/
- ./docker/supervisor.d/:/etc/supervisor.d/
environment:
# Declaring environment variables here overwrites those in .env for the app
HOST: 0.0.0.0
ports:
- 8181:80
tty: true
phpmyadmin:
container_name: invoiceneko_phpmyadmin
depends_on:
- database
image: phpmyadmin:5.1.1
restart: always
ports:
- 8182:80
environment:
PMA_USER: root
PMA_PASSWORD: invoiceneko-root-password
PMA_HOST: database
MYSQL_ROOT_PASSWORD: invoiceneko-root-password
networks:
- app-network
redis:
ports:
- 6382:6379
redisinsight:
container_name: invoiceneko_redisinsight
depends_on:
- redis
image: redislabs/redisinsight:1.10.1
restart: always
volumes:
- redisinsight-storage:/var/lib/redisinsight
ports:
- 8183:8001
networks:
- app-network
volumes:
redisinsight-storage: