Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- db:
- image: postgres
- restart: always
- volumes:
- - ./db:/var/lib/postgresql/data
- environment:
- - POSTGRES_DB=nextcloud
- - POSTGRES_USER=nextcloud
- - POSTGRES_PASSWORD=nope!
- app:
- image: nextcloud
- ports:
- - 8080:80
- links:
- - db
- volumes:
- - ./nextcloud:/var/www/html
- environment:
- - POSTGRES_DB=nextcloud
- - POSTGRES_USER=nextcloud
- - POSTGRES_PASSWORD=nope!
- - POSTGRES_HOST=db
- restart: always
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement