-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.pgsql.yml
67 lines (64 loc) · 1.66 KB
/
docker-compose.pgsql.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
#-------------------------------------------
# InvoiceShelf PostgreSQL docker-compose variant
# Repo : https://github.com/InvoiceShelf/docker
#-------------------------------------------
services:
invoiceshelf_db:
container_name: invoiceshelf_db
image: postgres:15
ports:
- 5432:5432
volumes:
- postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=somepass
- POSTGRES_USER=invoiceshelf
- POSTGRES_DB=invoiceshelf
networks:
- invoiceshelf
restart: unless-stopped
invoiceshelf:
image: invoiceshelf/invoiceshelf:nightly
container_name: invoiceshelf
ports:
- 90:80
volumes:
- ./invoiceshelf_pgsql/data:/data
- ./invoiceshelf_pgsql/conf:/conf
networks:
- invoiceshelf
environment:
- PHP_TZ=UTC
- TIMEZONE=UTC
- APP_NAME=Laravel
- APP_ENV=local
- APP_DEBUG=true
- APP_URL=http://localhost:90
- DB_CONNECTION=pgsql
- DB_HOST=invoiceshelf_db
- DB_PORT=5432
- DB_DATABASE=invoiceshelf
- DB_USERNAME=invoiceshelf
- DB_PASSWORD=somepass
- CACHE_STORE=file
- SESSION_DRIVER=file
- SESSION_LIFETIME=120
- SESSION_ENCRYPT=false
- SESSION_PATH=/
- SESSION_DOMAIN=localhost
- SANCTUM_STATEFUL_DOMAINS=localhost:90
- STARTUP_DELAY=10
#- MAIL_DRIVER=smtp
#- MAIL_HOST=smtp.mailtrap.io
#- MAIL_PORT=2525
#- MAIL_USERNAME=null
#- MAIL_PASSWORD=null
#- MAIL_PASSWORD_FILE=<filename>
#- MAIL_ENCRYPTION=null
restart: unless-stopped
depends_on:
- invoiceshelf_db
networks:
invoiceshelf:
volumes:
postgres: