Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. dadilje-web:
  2. container_name: "dadilje-api"
  3. image: hitalos/laravel:latest
  4. ports:
  5. - 4800:80
  6. volumes:
  7. - ./:/var/www
  8. # If you don't want to use default 'artisan serve' command, edit and uncomment the line below.
  9. command: php -S 0.0.0.0:80 -t public public/index.php
  10. dadilje-pgsql:
  11. image: postgres:10.1
  12. env_file: .env
  13. container_name: "dadilje-db"
  14. expose:
  15. - 6666
  16. environment:
  17. - 'DB_USER=${DB_PASSWORD}'
  18. - 'DB_PASS=${DB_PASSWORD}'
  19. volumes:
  20. - '${DB_VOLUME_LOCATION}:/var/lib/postgresql/data'
  21. ports:
  22. - "${DB_PORT}:${PGSQL_CONTAINER_PORT}"
  23. restart: 'always'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement