25 lines
325 B
YAML
25 lines
325 B
YAML
|
version: '3'
|
||
|
|
||
|
services:
|
||
|
db:
|
||
|
image: postgres
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- db:/var/lib/postgresql/data
|
||
|
env_file:
|
||
|
- db.env
|
||
|
|
||
|
app:
|
||
|
build: ./app
|
||
|
restart: always
|
||
|
ports:
|
||
|
- 8080:80
|
||
|
volumes:
|
||
|
- nextcloud:/var/www/html
|
||
|
env_file:
|
||
|
- db.env
|
||
|
|
||
|
volumes:
|
||
|
db:
|
||
|
nextcloud:
|